|
tech
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
General .NET discussionmicrosoft.public.dotnet.general
DJ -
15 Jul 2006 3:08 AM - 2 messages
I have a DropDownList in Visual Web Developer that is databound to a SQL Database. Whenever the web page is opened the DropDownList is automatically filled with the first item in the table. My question is, how do I set it so that the DropDownList is empty until a ...
Boris -
14 Jul 2006 10:49 PM - 2 messages
Is there a way to develop a client-side web control based on the .NET framework and running in a browser (embedded in a web page)? As far as I understand ASP.NET web controls are all server-side? I'm trying to switch from Java to some .NET technology while preserving the ...
StumpedSteve -
14 Jul 2006 9:00 PM - 4 messages
I am working in VB.net and have a problem that I can’t seem to find any information on. I have an arraylist that I’ve filled with positional data from a {numerical control machine} program. I now need to rescan through the ...
Ruth -
14 Jul 2006 8:40 PM - 2 messages
Which edition of Visual Studio do I have? "About" says that I have Visual Studio 8.0.5.0727.42: is this the professional, express, or enterprise edition? I do not believe it is the Team edition. I am trying to use "Attach to Your Form for Debugging" to attach to a ...
Ruth -
14 Jul 2006 8:36 PM - 2 messages
Which edition of Visual Studio do I have? "About" says that I have Visual Studio 8.0.5.0727.42: is this the professional, express, or enterprise edition? I do not believe it is the Team edition. I am trying to use "Attach to Your Form for Debugging" to attach to a ...
Jason Richmeier -
14 Jul 2006 7:46 PM - 5 messages
I keep encountering an error message while trying to build a solution that I cannot seem to get around. I cannot figure out what the error is trying to tell me as there does not appear to be much information provided. ...
Ruth -
14 Jul 2006 7:38 PM - 5 messages
Which edition of Visual Studio do I have? "About" says that I have Visual Studio 8.0.5.0727.42: is this the professional, express, or enterprise edition? I do not beleive it is the Team edition. I am trying to use "Attach to Your Form for Debugging" to attach to a ...
Bruce -
14 Jul 2006 5:15 PM - 2 messages
Assembly.GetExecutingAssembly returns a Reflection.Assembly Is it possible to save that to disk as a dll or exe, so I can load it later? ...
TDC -
14 Jul 2006 5:00 PM - 3 messages
I'm working on tying in a library that uses a TcpClient/NetworkStream/BeginRead. When that lib object is started, it connects and immediately does a BeginRead that stays pending until the socket is closed some time later. (As is common, as data is received it is placed in a buffer and then ...
TastyKarma -
14 Jul 2006 4:16 PM - 3 messages
Was hoping somebody might have experienced this before. I have client-side javascript in my aspx files. For some reason when I place the "debugger;" keyword in my javascript, Visual Studio no longer breaks into the code. It used to, and I can't figure out what could ...
vul -
14 Jul 2006 3:52 PM - 10 messages
I'm trying to use DLL created in VB 2005 in VB6 project. I did everything to make it work with late binding. It works when I run compiled EXE and produces an error 'The system cannot find the file ...
Gary Mui -
14 Jul 2006 3:51 PM - 3 messages
Microsoft .NET or Java? Does anyone ever come across this issue? The company I work for is starting up discussions to choose a strategic platform to use going forward so in order to get some background industry info, I've created a short survey at [link] This ...
AA -
14 Jul 2006 2:10 PM - 2 messages
In C++, I can create a share memory that can be share by different processes to use it. But in C#, how can I share data between process and process, ? and between AppDomain and AppDomain? Thanks ...
Reggie -
14 Jul 2006 6:56 AM - 4 messages
Hi and TIA! I have a recordset retrieved into a datgrid in my web app, from an SQL database that I want to save as an excel formatted file. I would like the user to click a button, get a prompt to save/name the file. Is ...
runner7 -
14 Jul 2006 6:18 AM - 3 messages
Can anyone tell me where the RFC definition syntax is documented? I am referring to such things as the use of <...>, [...], 1*, etc. I find this sort of thing in the RFC's for POP3, MIME, etc. ...
Brian -
13 Jul 2006 8:06 PM - 2 messages
Does anyone know how to go about viewing/changing/adding/deleting an Active Directory/Exchange 2003 user's e-mail address. If you pull up a user in AD Users and Computers and click on the E-mail Addresses tab I would like to ...
Bruce Summers -
13 Jul 2006 7:51 PM - 2 messages
Hey i was wondering if there was a way to disable the text within the banner area, so there is just the image. there isnt a property for it. Bruce ...
mmdst23 -
13 Jul 2006 6:25 PM - 3 messages
I'm working on a video player app, and I want to implement a trackbar that behaves like the one in Media Player, that is the cursor position moves to where the user clicked instead of moving in that direction by ...
hzgt9b@nopost.com -
13 Jul 2006 5:54 PM - 3 messages
I've been executing the CopyFileEx code below in a Windows Application for several months... Try If CopyFileEx(fiSource.FullName, strTargetFile, Fpr, ACTION_COPY, 0, 0) > 0 Then Else ...
Joe Bloggs -
13 Jul 2006 3:55 PM - 2 messages
Hi, Can someone please kindly show me how to determine if a type (read value type) is Nullable. MSDN has this KB: How to: Identify a Nullable Type (C# Programming Guide) [link] ...
Paola Zambudio -
13 Jul 2006 3:43 PM - 5 messages
Hi everybody! I'm trying to start a new proyect in asp.net web application. But Visual Studio show me the following error message: The class file 'WebForm1.aspx.cs' specified as the codebehind for 'WebForm1.aspx' could not be loaded. Make sure that the codebehind attribute ...
Roshan -
13 Jul 2006 3:13 PM - 2 messages
Hi, I wanted a reliable way of detecting if a given NTAccount object represents a user account or group account. I was using SecurityIdentifier.IsAccountSid() method but this doesn't work as I expected. It returns true for user accounts and also for groups created ...
Bob Mixon -
13 Jul 2006 1:58 PM - 4 messages
Greetings all, I have an assembly that, when compiled from within VS.NET, installs to the GAC without any issues. However, when I use the command line compiler, I receive an error when using gacutil to install it in the GAC. The message I ...
rut -
13 Jul 2006 12:07 PM - 3 messages
It appears that when you first click on the combo box that it just sets the focus to the control, then the 2nd click makes it drop down. Is there a way to make this work with just one click? ...
Pieter -
13 Jul 2006 10:01 AM - 3 messages
Hi, I'm looking for a multiline combobox. The only way I found was this one: [link] Does anybody has any other suggestions? Thanks a lot in advance, ...
Migguel Angel Sánchez Pérez -
13 Jul 2006 9:54 AM - 2 messages
I am using the native client of oracle through the System.Data.OraClient . Find gives to the following error “Unable to find an entry point named ocienvcreate in dll oci.dll†when I execute the Open method of the ...
jack -
13 Jul 2006 9:39 AM - 3 messages
hello friends, i want to retrive my ebay customer order information from ebay web page.(i am seller on ebay site) ...
beachboy -
13 Jul 2006 7:55 AM - 2 messages
hello, I have set "RepeatColumns" on myDataList = 5, if the reminder of itemdata is not multiple of 5.. e.g: only have 3 items. then the display will break... any method i can solive this and add empty columns if the output is less ...
Jason Richmeier -
12 Jul 2006 8:29 PM - 2 messages
I have encountered an error while attempting to sign an assembly. I have become quite frustrated since I seem to be going in circles and making no progress. Hopefully someone will have the magic answer. I am new to this so I will try to describe everything as well as I can. ...
buttslapper -
12 Jul 2006 8:26 PM - 5 messages
Hi, I'm writing an unistall program (unistall.exe). When I install my application, I also install unistall.exe. When I execute unistall.exe, I want to be able to delete the current folder and contained files. My problem is that unistall.exe is in use, and therefore, I can not ...
PickwickBob3 -
12 Jul 2006 7:20 PM - 4 messages
I am try to marshall the following: /*typedef struct tagRAWMOUSE { USHORT usFlags; union { ULONG ulButtons; struct { ...
Tedmond -
12 Jul 2006 5:21 PM - 4 messages
Dear all, How to setup a smtp server for sending mail using System.Web.SmtpMail? Just install a smtp service to the pc then SmtpMail.SmtpServer = "myPC"; ?? I could not make it work. How? Thanks for any help ...
prateekbaxi@gmail.com -
12 Jul 2006 4:38 PM - 2 messages
Hi, Is it possbile to install the assembly in GAC without signing it and creating the strong name? If i direclty register an assembly using gacutil /i <assembly>, it give me an error saying cannot install the assembly as it is not given a ...
dr -
12 Jul 2006 3:21 PM - 4 messages
I created a basic service using VS2005. Add OnPowerEvent method as detailed on MSDN and return false to a PowerBroadcastStatus.QuerySuspend notification. The service also has set CanHandlePowerEvent = true. But the service still fails to reject standby. If I do the same in VS2003, it does reject standby, ...
Scott -
12 Jul 2006 1:17 PM - 2 messages
When attempting to run the solution i am getting "COM object with CLSID {hex reference} is either not valid or not registered". I have looked in the debug and it shows a list of items where the symbols have not been loaded (not quite sure what that means), alot of which are ...
billr -
12 Jul 2006 11:12 AM - 4 messages
I have created a simple .net class library AdapterLibrary.dll, which contains a single class definition AdapterLibrary.Service (code at end of posting). I have signed the assembly and I attempt to install in the GAC. Using Visual Studio 2005 (.net 2.0) to build the dll results in me not being ...
R.A.M. -
12 Jul 2006 11:02 AM - 3 messages
Hello, I have written simple ASP.NET application but during execution I got unhandled exception. I have checked (debugging): it is not raised in my code, it uccurs after Page_Unload. Here's description: Message: Exception of type 'System.Web.HttpUnhandledException' was ...
Pieter -
12 Jul 2006 10:08 AM - 7 messages
Hi, I developed an Outlook Add In (VB.NET 2005, for Outlook 2003) that sometimes suddenly stops loading. I've put everywhere in the code Exception Handlers, but no Exception is catched. it seems that other add ins aren't loaded afterwarths (nod32). ...
Chris Mullins -
12 Jul 2006 5:52 AM - 9 messages
One of the things I've spent the last several years working on is a highly scalable socket server written in C#. The SoapBox Server has recently been tested to well over 100k simultanous users. This means it's handling 100k TCP connections on a Windows Platform ...
ute -
11 Jul 2006 11:59 PM - 3 messages
Hi all, I am running into query timeouts in my ASP.NET web application and need some help. I found out about the SQLCommandTimeout Property that can be used to reset to extent the timeout period past the default 30 seconds. Since my ...
sp -
11 Jul 2006 11:53 PM - 2 messages
Hello I have a problem with the refresh performance in datagrid – when datagrid is being shown it is so slow that I can see one by one cells is drawn -datagrid contains about 35x40 of cells - they are generated through the ...
Chris -
11 Jul 2006 11:51 PM - 2 messages
Hi, Where can I find information on creating a windows service in vb.net 2005? Is it the same as 2003? Thanks ...
stefan.moser -
11 Jul 2006 10:37 PM - 3 messages
Hi All, I'm having a problem implementing the Separated Interface pattern from Martin Fowler's book Patterns of Enterprise Application Architecture. I'm using C# in Visual Studio 2005. The problem I'm trying to solve is one of validation. Let's say I'm ...
FinallyInSeattle -
11 Jul 2006 9:58 PM - 2 messages
I need to be able to make a registry change (trust me, I don't like it either) and then launch an external .EXE from a small C# program. I've done a Process.Start, but when my program exits the external .EXE is ...
semaj -
11 Jul 2006 9:54 PM - 3 messages
- What is the difference between setting up 404 error page in web.config file and in hosting site (such as 404 Error behavior in godaddy.com)? - Do we need to set up at both web.config and hosting site to get 404 custom ...
Spyder -
11 Jul 2006 8:10 PM - 3 messages
I am trying to wrap a very old dll from Epson with a Managed Dll. Their declaration for the callback is this: typedef int (WINAPI* DLL_BiSetStatusBackFunction)(int, int (CALLBACK EXPORT *pStatusCB)(DWORD dwStatus)); but when I compile it, I get the following errors: ...
Todd Beaulieu -
11 Jul 2006 6:05 PM - 2 messages
I need to determine if a specified path exists, including the case, but .net isn't making this easy. system.io.file.exists is case-insensitive. If I create a fileinfo object in hopes to retrieve the FullName property, or use ...
hpark2_1999 -
11 Jul 2006 5:09 PM - 4 messages
Hi! I know how easy it is to create an NT services using .net framework (using Visual Studio 2003). Here is my problem. I came across a situation where I would like to run 2 instances of a service executable. From what I have seen the Service name has to be ...
tmda -
11 Jul 2006 3:46 PM - 2 messages
I'm using OwnerDraw for some customization in my ListView - adding color to item backgrounds. I'm using the ListView specifically for it's OwnerDraw capability. I originally was using the CheckedListBox control but it has no OwnerDraw. I have not found a way to draw the ...
PickwickBob3 -
11 Jul 2006 3:39 PM - 3 messages
[ StructLayout( LayoutKind.Sequential )] public class RAWINPUTDEVICELIST { public IntPtr Device; public int Type; } [ DllImport( "user32.DLL",EntryPoint="GetRawInputDeviceList" )] public static extern uint GetRawInputDeviceList([In, Out] RAWINPUTDEVICELIST pRawInputDeviceList, ref uint NumDevices,uint size ); RAWINPUTDEVICELIST pRawInputDeviceList = new RAWINPUTDEVICELIST(); size = (uint)System.Runtime.InteropServices.Marshal.SizeOf(pRawInputDeviceList); ...
Serge M. Ignatkin -
11 Jul 2006 2:04 PM - 2 messages
Hello, after a lot of readings I've got something working. Can you please check -- is it enough? .Net server and COM-client, also I generated key file and place "ref" to it in AssemblyInfo.vb this way: <Assembly: AssemblyKeyFile("..\..\keyfile.snk")> ...
Water Cooler v2 -
11 Jul 2006 9:36 AM - 3 messages
I want my application to do three tasks simultaneously. Each of the three tasks must be performed at a periodic interval of time. Each of the three tasks is somewhat complicated and is thus composed of a number of sub-tasks that are to be performed in a linear sequence. ...
John S -
11 Jul 2006 9:36 AM - 6 messages
Hi, when programming with VB.Net2005 you quite often need to have more privileges than the normal office user. In the past, this hasn't been too much of an issue as I have a user with full admin privileges that I use just ...
Water Cooler v2 -
11 Jul 2006 9:13 AM - 5 messages
Do timers run on the same thread that creates them or (internally) a new thread is spawned per timer? ...
YASER WAHEED -
11 Jul 2006 8:26 AM - 7 messages
I have found few days ago that .NET dll can be reversed to view all source code. I have used Dotfuscator but it only renames variables etc. I want to hide code. Please reply with some concrete solution. thanks in advance ...
Nathan Baulch -
11 Jul 2006 7:18 AM - 3 messages
For some reason I keep getting an InvalidProgramException when trying to emit a short (Int16) value in a DynamicMethod. The following code should replicate my problem. private delegate object TestHandler(); private static void Main() { DynamicMethod method = new DynamicMethod("temp", typeof(object), null, typeof(Program)); ...
wally -
10 Jul 2006 6:42 PM - 3 messages
Seeking suggestions for components to use in the development of an auto-dialer that can also play audio files. Ideally it will be able to tell the difference (with reasonable accuracy) between people, fax machines, answering machines and bad numbers. ...
Chuck B -
10 Jul 2006 4:30 PM - 6 messages
I found a FAQ on the MS website that states "No licensing restrictions for applications built using the Express Editions" but my boss wants explicit terms & conditions. Can somebody point me to an official MS page that spells out terms & ...
Back 9 -
10 Jul 2006 3:55 PM - 3 messages
I just made big mistake on my c# source code. I did undo check-out my files accidently. The only things I have are the DLL files. Other source files are nothing or almost all empty. I spent past 3~4 days without checking-in. ...
ramesh -
10 Jul 2006 2:42 PM - 3 messages
Hi all, Could any one help me out that how can I ship additional components with my .net 1.1 windows application. The components will only be installed if they are not installed already. The setup MSI has to be ...
Pieter -
10 Jul 2006 1:59 PM - 4 messages
Hi, I have a Control Library which shows a Form, and i would like to hev the icon of the CallingAssembly to be shown on this Form. Does anybody knows how to do this? I can't be able to get this Icon... ...
rajninathpatil -
10 Jul 2006 12:45 PM - 3 messages
Hi all, I get the following linker error when compiling a project written in VS2003. net How do I solve this ? Here are two more errors : 1) error LNK2019: unresolved external symbol "int __stdcall lstrlenWInternal(wchar_t const *)" (?lstrlenWInternal@@YGHPB_W@Z) ...
PIERRE BECKER -
10 Jul 2006 11:57 AM - 2 messages
Hi, Does anyone know which classes I shall use to read physical sectors of a floppy (A:) , cd or dvd disc ? I need this to try and read disk with non-dos/pc structure. Thanks in advance for any help. ...
mohan chinnathambi -
10 Jul 2006 11:21 AM - 2 messages
Hi, I am working on asp.net, i having the problem to loading the asp.net web form page. When i am loading the page, it is taking the time to display, so that i want dispaly progress icon. In windows, i can do. how we do in web application? ...
Bharathi Kumar -
10 Jul 2006 5:04 AM - 5 messages
Hi, How can I get a blinking text for a lable. Iam working in a window appln using framework 2.0 and VS 2005. Thanks in advance, Bharti Kumar. ...
Chris -
10 Jul 2006 4:11 AM - 2 messages
Hi, I have searched the internet, but havent seen any sample on large scale invoice printing. I am tasked with this project of rerieving data form a database and printing invoices on a daily bases. There will be about 2000 ...
Mark -
9 Jul 2006 7:01 PM - 5 messages
When I run my program, I open a picturebox with a photo loaded in to it using the code: PictureBox1.Image = Image.FromFile(strPath & strImage). I then close the picture box and put in the line: PictureBox1.Dispose() and it still will not let me delete the file which the photo is located. It ...
Rudy -
9 Jul 2006 4:02 PM - 7 messages
Hello all! I'm working in vb/ado.net I want to to have a message box pop up based on a result of a update on a SQL table. How do I do that so it automaticly pops ...
Adam Simmonds (SimAda00) -
9 Jul 2006 3:24 PM - 4 messages
Hi, how can i reference the build numbers for the application publication, to display in about box ...
guy -
9 Jul 2006 2:18 PM - 4 messages
does anyone have good random number generator? the .NET one does not generate a wide enough range of values as i have to populate a psuedo array that has approx 500 million entries, using the .NET generator the same sequence eventually repeats. ...
guy -
9 Jul 2006 1:28 PM - 5 messages
VB2005 in an app i have a variable defined as a Guid. This variable is populated from a sql server database. If i look at it using myGuid.ToString i see the expected value of the guid, however if i look at it using quickwatch or by hovering over it it shows as ...
netasp -
9 Jul 2006 1:16 PM - 4 messages
hi all, I need your help with the following scenario: I am using VS 2005 and SQL server DB, my form has 3 textboxes txtTotalAmount, txtAmountEntered, txtAmountBalance. If txtTotalAmount is $20.00 for example then user can enter $2.00 in cash, $2.00 in MasterCard, ...
emma_middlebrook -
9 Jul 2006 1:06 PM - 2 messages
Hi If I'm developing a console application, I'd rather not have to go to the project settings and edit the command line arguments each time and then run. Is there a way I can get a console box displayed automatically in the ...
Robert -
9 Jul 2006 8:39 AM - 2 messages
Hi I am pretty new to prgramming and i'm having a spot of trouble with one of my programs, i would like to, when a condition occurs chnge the property of label1.text to a random letter of the alphabet ...
Lloyd Dupont -
9 Jul 2006 7:50 AM - 6 messages
I'm attempting to write a fairly complex data structure. One part of the complexity is that all 8 data operations it supports delegate some code to virtual method. This is by design because I want the user to subclass the data structure and ...
|
|||||||||||||||||||||||