Eyes's Q&A profile
Windows Forms Halting and Debugging thread?
I have three data processing routines which I want to run in threads so that they don’t clog up the UI. How can I halt execution of thread until prior thread completes successfully. Private Sub Button3_Click(ByVal sender As System.Object, ByVal e A ...Show All
Visual Studio Debugging T-SQL Stored Procedure from running VS-Application
Hi, I know, that I can step into a stored procedure, and debug it from within visual studio. But I haven't figured out yet, how I can get Visual Studio to stop at a break point, when my actual *project code* called this stored procedure, so that I can see what parameters my program passed to the SP. I suppose, I have to attach the T-SQL-debugger somehow (But I don't really know). Does anybody know, how that works Thanks, Klaus ...Show All
Visual C++ Mental Block - CString to Char
I'm using MS VC++ 6.0 to create a data import tool to go from a text file into a specialised database. Anyway, I have a bunch of data records with their values stored in CString arrays, but I need to pass one of those fields as a char into a function. I'm just having one of those days where I know the answer is simple, and I will kick myself after (picture may be provided as evidence), but I just got a mental block right now. Any help would b ...Show All
Windows Forms Forms inside Splitcontainer
Hi all, In my application "Main Form" I have a splitcontainer which has a treeview control on the left container... What I want to do is load forms inside my applicaition into the right container... Is this possible, and how can I do it Thanks Why not create UserControl custom controls rather than actual Form instances. If you must use a Form then you need to set the owner of the form as ...Show All
Visual C++ Floating point stack overflow
My application works fine in VS2003, but in VS2005, it is producing an overflow of the floating point stack. This seems like it must be a code generation error in the new compiler. Has anyone else experienced this problem In the particular case I am looking at, I step through the instruction FLDZ in the disassembly window. Instead of getting a zero in ST(0), I get 1#IND, and the SF and C1 bits are set in the x87 FPU Statu ...Show All
Windows Forms How to set Password as the mode for textbox in datagrid
I am adding a textbox column at runtime in a Datagrid control(not a Datagridview control).This textbox is meant to enter password.How do I hide the text( i mean encrypt this text) while user is entering password in the textbox. Thanks Supriya You must creat a new class that inherits from DataGridTextBoxColumn an implement this feature, see the code below: Option Strict Off Option Explicit On Imports Micros ...Show All
Windows Forms Instant messenger
Hello everyone I was wondering if it was possible to create a MSN-type instant messenger with .NET and if it is, what tools would I need to create one along side .NET Are there any resources out there on this topic that gives step ...Show All
SQL Server Source and Target - Both Behind Firewall using NAT
In this situation do I need a proxy or forwarder at both ends to prevent connection issues Are there plans to handle this in future SSSB upgrades. Thanks. Currently it starts at about 4 seconds and then doubles after each retry until it reaches about a minute. There's nothing in what you have said so far that would indicate that you were getting timeouts but if you were, you could see them in the profiler t ...Show All
Visual C++ Getting Error - Regarding stdafx.h
I'm trying to fool around with the new Visual studio version (2005 Beta 2) and for some reason it keeps telling me: \Practice.cpp(1) : fatal error C1083: Cannot open include file: 'stdafx.h': No such file or directory A long time ago someone told me to go into the properties of the project and change the default to CLR support. I did this time but it doesn't seem to build. Can someone tell me what to do Here is my code: #includ ...Show All
Visual Basic Simple License Details Dll
Im just trying to create a DLL file that contains license info for my program. Basically, i just want to be able to reference text strings that i store in the DLL file. I don't know how to store them, and how to access them, as i have never worked with DLL's before (at least not ones i have created) I want to have about 5-7 text strings (company name, address details, serial number etc) that i can display on a form in my main app (assum ...Show All
.NET Development TableAdapters.....
Is there a way to expose the SqlDataAdapter within a TableAdapter as a Public property even after re-generating the TableAdapter I can't use TableAdapters, because they don't expose the SqlDataAdapter as a Public property since I need to pass down the DataAdapter to a separate DB I/O method. Not a generated DB I/O method within the TableAdapter. I'm forced to use the Component Designer and create a SqlDataAdapter like I have been doing in VS.Ne ...Show All
Visual Studio Express Editions Basic Array Help
If i was to make a socket array like Dim Sockets(1000) as socket Then in form_load i put For a as integer = 1 to 1000 sockets(a) = new socket next a How would i go about handling when it connects and stuff I don't think you'd want to do that. I do think you'd want to create a thread pool with connections and use then as needed. ...Show All
Visual Studio Team System Custom rules limitations
We are beginning to implement FXCop, and are looking to use several custom rules. I've noticed limitations on certain rule testing. Are the following possible to implement as custom rules Use brackets after if statements object assignments should occur in Try blocks We're looking for verification that some exception handling is present should object assignment fail. ...Show All
SQL Server Stored procedure
Hi every body when i ran this code in sql server 2005 "use test go create proc testProc @s nvarchar ( 100 ), @t nvarchar ( 100 ) As begin select @s from @t end go" i encountered this error message "Incorrect syntax near '@t'." what is wrong in my code by thanks Javaneh Well, you gotta read http://www. ...Show All
Visual FoxPro How to find index on column in FoxPro
How can I find out if there is an index on a column in a FoxPro (Free) table using OLEDB in V B.NET. Hi Knightmare, I don't want you to feel ignored, so I'll say hi! I've seen this question before and unfortunately I don't know a way that this can be done. ...Show All
