|
ms
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual C# .NETmicrosoft.public.dotnet.languages.csharp
Service Wont Start Programatically (ACCESS DENIED)
carson -
13 Jan 2007 11:54 PM - 5 messages
I have written two windows services: - service A does some crunching of local data files and uploads them to a central processing computer via http. - service B monitors a manifest file on a webserver to see if service A needs to be updated. ...
ASP.NET Singleton usage
fredd00 -
13 Jan 2007 11:32 PM - 8 messages
Hi I'm just starting with singleton and would like to implement in my new web app. I have a question lets say i create a singleton DataHelper that holds a static SqlConnection object to share and on my page I do ...
Menu - Eliminate The Triangular Arror pointer thing - How to do it?
empire5 -
13 Jan 2007 10:48 PM - 10 messages
I want to eliminate the little triangular arrow poinger that appears tot he right of the menu item. Which control setting lets me do that. ...
Expression Products...
Anthony Nystrom -
13 Jan 2007 9:42 PM - 5 messages
Don't know where to post this... Does anyone know if the expression products are going to be added to Subscriber Downloads? Thanks ...
c# express edition and sql server2005 workgroup
Roelof van Kooten -
13 Jan 2007 8:43 PM - 4 messages
Is it possible to connect to SQL Server 2005 Workgroup using C# Express edition ? Thanks for your help, Roelof ...
newbie csc doesn't work at winxp cmd line
James Mayhew -
13 Jan 2007 8:28 PM - 2 messages
I'm using C# 2005 Express Edition. In a win2k cmd window. csc /? works normally. In winxp home edition and winxp media edition it doesn't. Both yield: " 'csc' is not recognized as an internal or external command, operable program or batch file." Both winxp systems have .NET Framework ...
TreeView node in bold has incorrect length
Marcel Brekelmans -
13 Jan 2007 4:21 PM - 4 messages
Hi, When I set the text of a TreeView node to bold (or Italic for that matter) programmatically, it doesn't show up with its length adjusted. Instead, it has the length of the text in normal font, so it is clipped at the end. Does ...
How to retrieve SMTP address from an EXCHANGE address ?
Noro -
13 Jan 2007 1:10 PM - 3 messages
Hi All, When I try to get the email address of the current user, I retrieve a string like this that represents the email address: /o=ORGANIZATION/ou=Sede/cn=Recipients/cn=USERNAME What can I do to retrieve the smtp address from this exchange address? ...
chat application
Bllich -
13 Jan 2007 12:26 PM - 9 messages
Greetings, there is a nice multi-user chat application written by Microsoft in VB which code is on the location: [link] ef5cad681313/vbSockets.exe I started translating it in C# and couldn't finish it.. ...
Playing sound using reference on data array.
pkoziejko -
13 Jan 2007 12:11 PM - 2 messages
Hi! I have implemented psychoacustic Johnson model for wav files, and now I need to play data after modification. Now I have only playing *.wav using [DllImport("winmm.dll", SetLastError=true,CallingConvention=CallingConvention.Winapi)] and PlaySound( "wav_file.wav", IntPtr.Zero,0x00020000 | 0x0001) ...
Using DropDownList control in GridView.
jack -
13 Jan 2007 11:11 AM - 3 messages
Hi all im trying to use DropDownList control in GridView The senerio is like the <ItemTemplate> Control is a Label control and when click on edit control DropDownList should be the <EditItemTemplate> control I want to get the selected value from the dropdownlist control of the ...
Is it possible to hide methods to certain classes?
GroZZleR -
13 Jan 2007 9:45 AM - 9 messages
Hey all, I have 3 classes. Let's call them Plane, Pilot and Passenger. I'm trying to restrict Passenger's access to Plane's more intimate methods, but allow Pilot to use 'em. Right now I have this "useless" interface that creates basic methods, ...
WinForms.NotifyIcon doesn't vanish when program ends
ForrestPhoto -
13 Jan 2007 5:51 AM - 3 messages
I would think it should disappear on its own when the application ends - if you have a main form and others, they'll all close when the user kills the main form. In any case, I override the OnClosing method and ...
Setting focus on a form
avanti -
13 Jan 2007 1:04 AM - 5 messages
Hi, I have a few forms in my application. One of the forms is to confirm some action done on the other form. I want to make sure that the user clicks this form (by choosing 'yes' or 'no') before continuing to do ...
Validating an XML file
Jack White -
13 Jan 2007 1:00 AM - 12 messages
Hi there, I've created a strongly-typed "DataSet" using VS. If I save the data via "DataSet.WriteXml()" and later prompt my users for the name of the file in order to read it back in again (using "DataSet.ReadXml()"), how do I ...
Newb Question....Database Entry Form
uluvale96799 -
13 Jan 2007 12:35 AM - 3 messages
Hi, I'm very new to programming so forgive me for asking the dumb question. I'm trying to develop a database application using c#, and I'm using the northwind database. I'm currently using visual c# express edition ...
File Attachements from database
Sehboo -
12 Jan 2007 11:03 PM - 4 messages
I have a table with field of type image which has binary data in it. data could be of image/doc/text/etc type. I need to send this data as file attachments in emails. I should read the data, store it in some ...
Custom color option
VBA -
12 Jan 2007 10:51 PM - 3 messages
Hi All :) Well this is not only for C#, but in VS2005 the color properties of the controls (like backcolor,forecolor...) are limited to what they have by default in the System, Web and Custom palette.. but in Custom i only see ...
Combo box API trickery
Frank Rizzo -
12 Jan 2007 10:45 PM - 4 messages
I have a Combo Box, with DropDownStyle=DropDownList. I have a requirement that a user not be able to click certain items in the dropdown, e.g. the dropped part of the combo box should act like nothing happened. ...
Boxing and Unboxing ??
Peter Olcott -
12 Jan 2007 10:43 PM - 121 messages
According to Troelsen in "C# and the .NET Platform" "Boxing can be formally defined as the process of explicitly converting a value type into a corresponding reference type." I think that my biggest problem with this process is that the terms "value type" ...
Retrieve Values from a ListBox
dudis3 -
12 Jan 2007 8:59 PM - 2 messages
Hello, I have this problem, I have populated a multiselect ListBox, but now I need to retrieve selected values, and use them as a parameters on the url e.g [link](value or values) - which ...
So long, farewell, auf Wiedersehen, goodbye.
Jon Shemitz -
12 Jan 2007 8:54 PM - 3 messages
After 23 years as an independent programmer (most of them with Turbo Pascal, Delphi, and C#) I'm taking a full-time job, doing straight C on embedded Linux. I start a week from Monday (Jan 22) and will probably stop monitoring the .NET newsgroups, as I'll have to find ...
GUID lenght
VBA -
12 Jan 2007 8:52 PM - 6 messages
Hi The GUID in .NET is specific for 32 characters?? is there a way to choose the lenght limit instead of getting a substring from the code?? VBA :) ...
Newbe DialogResult question
Bill Cart -
12 Jan 2007 8:03 PM - 4 messages
I am trying to work with 2 forms. If I set the ModalResult of a button on the 2nd form it works OK. If I try to assign the result and then return it does not return the value I set. ...
How read from Active Directory?
Ronald S. Cook -
12 Jan 2007 7:41 PM - 6 messages
I have no experience with Active Directory and need to programatically read which user is logged into the domain, the groups they are in, and any other pertinent information. Can anyone get me started? I.e. what's the namespace, what does the masic ...
Setup project
John -
12 Jan 2007 7:29 PM - 3 messages
Hi, In my setup project, the wizard created MyProgram.msi and Setup.exe. Which one should I pass to the user to install the program? Thanks. ...
Determining project and file types in preexisting code
jeffc -
12 Jan 2007 4:28 PM - 3 messages
I'm maintaining some older code, apparently created in Vis Studio 2003. I have Vis Studio 2005. When I open this solution, it says it has to convert all the projects. There are some problems with the application and what I'm ...
Handling Nulls
JimHeavey -
12 Jan 2007 4:21 PM - 6 messages
I have created a class for each of my tables in my database. I use an instance of this class to hold all of the fields in this table in the native ..Net types. Some fields in the tables allow nulls. ...
pure scope and try catch scoping idea
John Rivers -
12 Jan 2007 3:58 PM - 3 messages
try catch blocks create a new scope i don't think that they should for example, to add error handling to this statement: int x = 1; you have to rewrite it as a seperate declaration and assignment: int x; try { ...
stored procedure have no results
chessitguy -
12 Jan 2007 3:24 PM - 9 messages
my stored procedure: create procedure ps_title @Title nchar(15) AS SELECT ,Title FROM books Where Title = @Title this is my code. i'm passing variable to sp and getting no results. ...
How to find what was connected, when?
J -
12 Jan 2007 3:17 PM - 2 messages
Hi I've seen a couple of applications which produce a list of all of the devices which have ever been connected to a PC (via USB and FireWire at least), what they were, when they last connected, if they're still connected ...
Problem with Response.Redirect
CF -
12 Jan 2007 3:14 PM - 2 messages
Hi, I have made a Forms Authentication application, which is working good. Only problem that I have is with redirection. Here is my code: LdapAuthentication adAuth = new LdapAuthentication(adPath); try { if(true == adAuth.IsAuthenticated(txtDomain.Text, txtUsername.Text, ...
WinForms - Setting TabIndex Properties (Quickly)
alexkail3 -
12 Jan 2007 3:07 PM - 4 messages
In VB6, there was an "easier" way to set the tab index properties of all of the controls, which was to start at the last control, and work your way to the first control, setting each controls tab index property ...
Placing images in external DLLs
Brian A. Cline -
12 Jan 2007 2:49 PM - 3 messages
After placing several images in an embedded resource file, the size of my program's executable has jumped considerably. I don't need these images until a specific dialog pops up, and it's possible that may never happen in the majority of cases. What would be the best way to go about ...
Designer throws Excepion : [System.ComponentModel.Browsable(false)] seems not to work as expected.
Sagaert Johan -
12 Jan 2007 2:47 PM - 2 messages
hi In a componenet class i have a property with the attribute [System.ComponentModel.Browsable(false)] public int Vsetting { set{....} get{...} } When i use the component on a form, the property is not visible in de ...
Eletronic Serial Number
Marcelo Muzilli -
12 Jan 2007 2:04 PM - 4 messages
Howdy all, I'd like to know how can I get the Eletronic Serial Number of my handheld. Which API do I have to access? I'm developing using MS VS2003 C# (Compact FrameWork) for a Intermec CN3 handheld. I don't know if I can access via Windows API or if I have ...
Test connection in Enterprise Library
Jac -
12 Jan 2007 1:42 PM - 2 messages
Hey, How can I test if there is an connection-exception when using database application block from the enterprise service? I stopped the sqlserver. I do now the following : Database db = null; IDataReader reader = null; try { db = DatabaseFactory.CreateDatabase("Logging"); ...
Marshalling: How to delete dynamic array from managed code.
Ananas -
12 Jan 2007 1:39 PM - 7 messages
Hi, My native C++ function creates a dynamic array. I'm marshalling it to managed code and got to delete after. How to make it: c++ code: void CreateArrayInside( pTestStruct &TestStruct, unsigned int &size) ...
Problem in validating Form1 Controls in Form 2
Suma -
12 Jan 2007 1:26 PM - 2 messages
Hi, i have a problem with the controls .i have to validate Form1 Radio button option is checked or Not in the Form2. even after checking the radio button also in FOrm2 it is always taking as "False" only. please see the following code where i did wrong. ...
Blog
Champika Nirosh -
12 Jan 2007 12:51 PM - 7 messages
Hi All, Can some one explain me how these blog servers keep blog content? Is it via a database? Is it via a XML file which save in a local directory? I was asked to develop a back end service for a blog/ wiki. ...
How read file properties like Keywords, Comments?
Ronald S. Cook -
12 Jan 2007 12:26 PM - 3 messages
Right-click on a file (e.g. a .wmv file) in Windows Explorer and there's the "General" tab with Date Created, Attributes (i.e. whether the file is read only or and.or hidden), and other properties. I can get at these values ...
A nasty trap - Class Properties Changing Value Whilst A Program Was Paused !!
pigeonrandle -
12 Jan 2007 12:16 PM - 2 messages
Hi, I thought i should give a better explanation to my second 'bug' in my previous post (Bugs in VS2003 SP1) because it's taken me ages to figure out what was going on. Basically, one of my project classes 'Tokenizer' had a property ...
Checked Combo Box.
saurabhnsit2002 -
12 Jan 2007 11:47 AM - 4 messages
Can anyone help me about how to create combo box with its items as checked boxes or radio buttons. This has to be done in C#. I have seen something similar to this named custom combo boxes but they are in MFC I have to remain constrained only in C#. ...
updating a textbox on a form from another class
Peted -
12 Jan 2007 11:32 AM - 5 messages
Hello i have a textbox on a form1. I want to pass the name of that textbox as a paramter to another class (not a form class) and once gotten this paramter i want to update the textbox on form1 and display text data as data is retrieved via this ...
Interprocess Communication
DC -
12 Jan 2007 11:08 AM - 13 messages
Hi, I am using a windows service. Now I need to access some data inside this service with a windows forms application. As an alternative I could use a web project to get what I need from the windows service. ...
Quick question - formatting the way time is displayed
Gary -
12 Jan 2007 10:52 AM - 4 messages
f.CreationTime.Hour.ToString() + ":" + f.CreationTime.Minute.ToString() + ":" + f.CreationTime.Millisecond.ToString(); Which produces a format like 9:30:124 Now I'd like to change this slightly. Firstly I do not need to know the creation time of the file accurate to the thousandths of miliseconds! ...
Web page size
marss -
12 Jan 2007 10:49 AM - 5 messages
Hi all, With the advent of Service Pack 1 for Visual Studio 2005 we at last get a possibility to convert our old ASP.Net 1.1 web application to ASP.Net 2.0. We converted it. And we were unpleasantly impressed. There are many just ...
typeof(enum) as argument to method
Jesper, Denmark -
12 Jan 2007 10:40 AM - 4 messages
Hi I need to parse strings to enumerated types for several different enumerated types. Im doing this for each of them, bu I wonder if there is a way to write a generic method that also takes the specific enumerated type as ...
Screen capture of a Form
jcmag -
12 Jan 2007 10:13 AM - 2 messages
I would like to take a "screen capture" of just a Form. I've done the following: internal void CaptureScreen() { Graphics g1 = CreateGraphics(); ...
Generate a unique random string
Robert Mago -
12 Jan 2007 9:48 AM - 10 messages
Is there a way to create a 10 characthers or less, alph-numeric string which is unique. I can't use the guid since its longer then 10 characthers. Also i cannot use a random number, since being random does not mean that its ...
problem updating database
dani kotlar -
12 Jan 2007 9:35 AM - 4 messages
I use a table adapter to add rows to a database, using Update(); After adding a row to the database and closing the application, if I run the application again, and call Fill(), I can see the new data, as ...
Serialize and deserialize against interface??
TheMadHatter -
12 Jan 2007 8:24 AM - 3 messages
oop Q: If I serialize an interface array, then later deserialize it, do I need the original assembly to deserialize it??? Eg: // Inside of "globaly assembly" public interface Ianimal { string myColor { get;} ...
How to marshal managed array to DLL.
Ananas -
12 Jan 2007 6:34 AM - 3 messages
Hi, I'm using C# and C++ DLL. I need to send an array of unknown size at compilation time to C++ native code. How to do this. Example; C#: byte[] Image = ImageLoadFromFile(FileName); // as like the dynamic image in the C++, for example, image loads from the file at the run ...
Lockbits vs BitBlt
_DD -
12 Jan 2007 4:00 AM - 6 messages
I've heard that fast bitblt functions still need to resort to calling older Bitblt vs interop. Has this changed? Will GDI+ Lockbits come close to the speed of GDI BitBlt? ...
Clickonce, Windows Installer, or something else?
Tim -
12 Jan 2007 2:30 AM - 2 messages
I am fairly new to VS 2005 and I have a unique situation that I would like ask the group. I have some sensitive files and documents that I want to deloy to authorized usres. In a nutshell, I want to package a ...
Is this normal
Robert Brown -
11 Jan 2007 11:33 PM - 4 messages
Hi there, Is it normal for form-based events to fire in "InitializeComponent()". I've got a "DataGridView" on a form and I set its "CellValueChanged" event using the forms designer. Ok, VS initializes my event in "InitializeComponent()". However, "InitializeComponent()" later calls ...
NUnit tests will not load
j -
11 Jan 2007 10:51 PM - 3 messages
I've used NUnit before, but I've never had this problem. I am trying to test a web service. I've written my tests, decorated the fixture, and the tests and everything compiles, but when I load the DLL into NUnit, none of the ...
C# threading & events
Aidal -
11 Jan 2007 10:39 PM - 11 messages
Hi NG. I'm creating a little app. that has to use a 3rd party API. The functions in this API has no return value but trigger events like OK or NOT OK with event args. Where I need to use this API I must have a synchrone modul so I need to ...
can't convert msoeapi.idl to .tlb
Vinz -
11 Jan 2007 10:37 PM - 2 messages
Hello folks, After 1 evening of trying and reading a lot of (web)pages I have not succeeded in creating a .tlb file from my msoeapi.idl file. Also I'm a bit confused because some sources say MIDL.exe makes the type library and some ...
thrown exception lists the line number of throw
Dan Holmes -
11 Jan 2007 9:55 PM - 6 messages
Server stack trace: at IVS.Framework.ControlNumberService.InstallComponent(Identity id, ControlNumberInfo ctrlNumber) in C:\Sandbox\IAF.NET\IAF\trunk\src\BOs\ControlNumbers\Server\ControlNumberServer.cs:line 86 The line number 86 is the "throw" line: catch (Exception ex) ...
fire an event at midnight
Jac -
11 Jan 2007 9:50 PM - 6 messages
Hey, I have a windows service and when the day change (so at midnight) I want fire an event so I can execute some code. Do someone has an idea to do that? I don't see directly a solution with a timer and an interval. Because ...
Wait One Second
randy1200 -
11 Jan 2007 9:17 PM - 23 messages
When I get to a certain point in my code, I want to wait 10 seconds so the user can see the splash screen. I DON'T wait to do threading here. I DON'T want to register a callback. ...
RegisterTask fails on LogOn trigger
vik -
11 Jan 2007 9:04 PM - 4 messages
I tried to schedule a task in Windows Vista programmatically using Task Scheduler API 2.0. I created different types of triggers, and they all worked except LogOn and StartUp trigger. When I created a task to run at Logon, it ...
Example asp.net and Flash Media Server
Rafael Tejera -
11 Jan 2007 8:55 PM - 2 messages
Somebody has an example of asp.net c# and Flash media server that can show me, or any article. Sincerely, Rafael ...
ConfigurationSettings.AppSettings["foo"]
Mark -
11 Jan 2007 7:32 PM - 6 messages
Could someone provide me with details or a link on how the line of code executes underneath the hood? Assume it's executed in an ASP.NET application. string blah = ConfigurationSettings.AppSettings["foo"] Once your application has called for the "foo" key once, how expensive is to ...
Displaying printDialog in web app
VMI -
11 Jan 2007 7:32 PM - 2 messages
From server-side, how can I display a a dialog box where I can display all possible printers, and then retrieve the printer name? I added a dropdownlist with all the printers (and it works), but it would look better with the ...
Multiple apps with multiple joysticks
schao416 -
11 Jan 2007 7:17 PM - 3 messages
Hello all, I have a 3rd party Windows app using an USB joystick running. If I develop a C# app that uses a 2nd USB joystick, can both of those apps running side by side receiving inputs from their respective joysticks ...
Capture XML Response
Tom Bean -
11 Jan 2007 6:41 PM - 9 messages
I am writing a C# Windows service that calls methods on a remote web service and would like to capture the XML returned by the web service. The reason I need the raw XML is for back up to the sub-set of data I am saving to a ...
tsâ€
Luis Cesar -
11 Jan 2007 6:01 PM - 6 messages
Hi, I’ve been working with a 3-tier development and business objects for desktop windows application, having developed a class implementing BindingList and others. I’ve recently read about the book “Expert C# 2005 Business Objects†that ...
Inheriting Image/Bitmap
Frans Vander Meiren -
11 Jan 2007 5:51 PM - 3 messages
Hi I want to extend the functionality of a Bitmap object, so I defined a subclass from Image (abstract class). Unfortunately Image has no constructors defined ... Can anyone tell me how to inherit a Bitmap or Image object? Thx ...
need some explanation with referencing controls on other forms
Milsnips -
11 Jan 2007 5:45 PM - 3 messages
Hi there, i have a test application with 2 forms - frmMain and frmDialog the application starts with frmMain (which has a label on it called lblStatus), and when i click a button, it opens the dialog where i can type ...
Recursive XML serialization? XML serialization of cyclic objects?
" <knocte -
11 Jan 2007 5:18 PM - 2 messages
Hello. I have this kind of object: class classA { int x; classA z; public int X ...
Parameter Passing from C# to C++
Rich -
11 Jan 2007 4:56 PM - 3 messages
I need to build a managed DLL in C++ and call it from C#. I need this to work with remoting as well. In C#, class objects are reference types, so if an object is passed directly to a C++ method it is considered a reference to the object. ...
C# 3.0: no additions to where clause? dang.
not_a_commie -
11 Jan 2007 4:52 PM - 2 messages
I was hoping for increased functionality with the where clause in C# 3.0. Using the new keyword 'var' would really allow us to take nice advantage of these. Specifically: 1. I want to limit it to primitives: "where T : System.Type.Primitive" ...
Start up directory for my dll
roto23 -
11 Jan 2007 4:50 PM - 5 messages
I wrote a complied c# class (SpulClass). In that class I use this to get the directory it resides in.. System.IO.Directory.GetCurrentDirectory(); When I call this this class (dll) from a c# windows application this.... System.IO.Directory.GetCurrentDirectory(); returns the correct path ...
kerberos authentication
webrod -
11 Jan 2007 4:38 PM - 5 messages
Hi, I am trying to secure a WS using WSE 3.0 and kerberos. I used the "WSE 3.0 settings" from VS2005 with my own WS. I have a console application which try to access a WS. With the following configuration it works: ...
how to convert logic operation stored as a string to bool ?
Jakub Bednarczuk -
11 Jan 2007 4:34 PM - 3 messages
Hi everybody I am trying to find the solution for the problem stated in the topic, but so far without any result. Let's see the problem. I have set of conditions and the description (logical sentence) how should be these conditions connected with each other. See how does it ...
Generics Question
sloan -
11 Jan 2007 3:54 PM - 4 messages
I think someone posted about this before. Outside of collection type stuff, what are possible uses of a Generic. (Again, I'm cool with the collection type stuff). Thanks............. ...
comunication between JScript and C#
bowser -
11 Jan 2007 3:45 PM - 4 messages
Hello, I have a problem of communication between JScript and C#. I must say that I'm new to both. In a JS file I have to call a C# function. In particular I have: public function Eval(expr : String) : String ...
Known problem with LinearGradientBrush?
_DD -
11 Jan 2007 3:43 PM - 9 messages
It seems that there is some odd interaction with LinearGradientBrush that depends on positioning. A simple test: --------- Rectangle Square = new Rectangle(.....); in Paint: LinearGradientBrush ShadeBrush = new LinearGradientBrush( Square, Color.White, Color.Black, 90.0F, true); ...
using stored procedure
vncntj -
11 Jan 2007 3:37 PM - 4 messages
I have this syntax working perfectly, but I'm trying to apply a stored procedure instead using the CommandText (Sql Statement). // Open connection to the database string ConnectionString = ...
Globalization: using another than the default language
cyberco -
11 Jan 2007 2:51 PM - 3 messages
Using: WM5 PPC, .NetCF 2, C#, Visual Studio 2005 OK, I figured out how to add resources.resx files for different languages/cultures for both my Frames and my project at large. But how can I deploy a version of my application that uses the non-default ...
hiding public methods in the DropdownList.
Lucky -
11 Jan 2007 1:36 PM - 7 messages
hi guys! again with some interesting Question. i've some public methods in class. i dont want to show this methods in the dropdown list while you are typing the code in .net IDE (it long story that why i dont need those methods in the list). ...
More regex questions (sorry!)
Trev -
11 Jan 2007 1:16 PM - 7 messages
Hi, If I had a string denoted by MyArray[5], how would I extract the number in brackets for use in the programme later on? I've tried "\[(\d*)\]" but all I get is a syntax error. What would be the usage for ...
Newbie: use Csharp for web development
CK -
11 Jan 2007 12:54 PM - 4 messages
I have never written a single line of code in C# but I would like to begin web development with on ASP.NET can we do that using C# ? I have a fair knowledge of OOP and JAVA/J2EE. I have read at serveral places that C# is a ...
Getting strange result while running the code
Rishi -
11 Jan 2007 12:33 PM - 3 messages
Hi, I'm facing a problem while running this code. The problem is : Whenever I'm running this code for the first time , it is not showing the source in Event Viewer (under Computer Management). ...
Searching 18,000 strings of an average size of 10Kb
Allan Ebdrup -
11 Jan 2007 12:31 PM - 10 messages
What would be the fastest way to search 18,000 strings of an average size of 10Kb, I can have all the strings in memory, should I simply do a instr on all of the strings? Or is there a faster way? I would like to have a kind of ...
Validate File Name (Not File Characters)
sheeeng -
11 Jan 2007 11:50 AM - 4 messages
Hi all, I know that we can check for invalid file name characters as shown at [link] But how can we check a string for invalid file name such as CLOCK$, AUX, CON, NUL, PRN, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, ...
reading a label from an user control
Hans -
11 Jan 2007 11:27 AM - 2 messages
Hello, It looks like my previous post was deleted. So here is again: I have this user control called "encabezado" (I cut the code to make it shorter): public partial class Encabezado : System.Web.UI.UserControl { private String n; ...
Unable to run .exe application using C# code
kbhavesh -
11 Jan 2007 10:52 AM - 5 messages
Hi, I have an exe that i need to call from my C# Program with two arguments(filenames) for example Suppose if i have an application "test.exe" , whose functionality is to convert a '.doc' file to '.txt' file ...
Can't access to any DataBase
alberto -
11 Jan 2007 10:43 AM - 4 messages
I'm working in a domain with C# 2005 and I can`t access to any data base. The error is this: Error de solicitud de permiso de tipo 'System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, ...
How to multiselect entries in drop down
Ajith Menon -
11 Jan 2007 10:38 AM - 6 messages
I need to select multiple entries in the drop down list. E.g. Search a string in languages like C#, VB, Java etc. These entries are in drop down. So i need to multi select to search in multiple languages ...
Passing values to a property in C#?
johnj -
11 Jan 2007 10:31 AM - 3 messages
I am converting an application I wrote in VB.NET to C#. I am not a C# guy, at all. I am having a problem passing values to a property in C#. I understand that it is probably not the best way of achieving my ...
Question about difference between text file and database
Gary -
11 Jan 2007 10:28 AM - 4 messages
Hi in a simple application that consists of a couple of user input forms. I'm wondering what the difference is between using a database technology and a plain text file? I've been working on this program for a week or so now and its a hobby ...
Best way of implementing a multi-node tree in C++? (or C#, a close cousin)
raylopez99 -
11 Jan 2007 9:21 AM - 9 messages
What's the best way of implementing a multi-node tree in C++? What I'm trying to do is traverse a tree of possible chess moves given an intial position (at the root of the tree). Since every chess position has ...
Marshal static array inside the structure from C++ to C#
Ananas -
11 Jan 2007 8:05 AM - 3 messages
Hi, Please give me an idea how to send a static array from dll written on C++ to C# application. This is a C++ code: const SIGNATURE_LENGTH = 50; struct Info { unsigned int Signature[SIGNATURE_LENGTH]; ...
combobox SelectedIndexChanged event
biffo71 -
11 Jan 2007 7:57 AM - 2 messages
.... it's driving me crazy ... I trying to make a zoom-combo like word : I have my items: 10% 50% 100% fit to page and I want, after the user has selected "fit to page", to set the combo text to a calculated value . ...
How to make assemply unique.
archana -
11 Jan 2007 5:56 AM - 2 messages
Hi all, Can anyone tell me how to make assemply unique? Is it using key? thanks in advance. ...
Does dot net truely platform independent?.
archana -
11 Jan 2007 5:55 AM - 5 messages
Hi all, can anyone tell me does dot net platform independent? Why can't i run dot net on unix operating system?. thanks in advance. ...
Opinions on latest AMD and Intel processors, is one better suited for development?
JDeats -
11 Jan 2007 3:18 AM - 4 messages
Looking to pick up a notebook and wanted query the developer community for any feedback, sorry if this is off topic. Does the Intel Core 2 Duo chip offer any advantages to .NET developers? I remember, it seems like a year or so back when the 64-bit AMD chips ...
|
|||||||||||||||||||||||