Answer Questions
Julian Jewel How To Return records from database a to Array() Get
So I have a code And I want to return records from Datase Northwind Employees Table FirstName Column to array Save. But an occur error. Thanks for Help. Dim Con As SqlClient.SqlConnection = New SqlClient.SqlConnection Con.ConnectionString = "Server=.;Database=Northwind;Integrated Security=SSPI" Try Con.Open() Dim Com As SqlClient.SqlCommand = New SqlClient.SqlCommand("Select FirstName Fr ...Show All
NateKing Visual Studio Is Busy?
Pentium IV - Northwood 3.5 Ghz - I Gb of Ram. XP SP2 .. all current patches applied. VS2005 RTM Team Suite On occasion while debugging the IDE becomes nonresponsive and I receive a Bubble message informing me that "Visual Studio is busy waiting for an internal operation to complete - If you receive this message often, please inform Micorosoft" After I receive this message the IDE never recovers. All I can do is to de ...Show All
Gidmeister BindingDataSource question
I am fairly new to this BindingDataSource in VS 2005. I dragged the datasource onto a form where it created the textboxes and drop down lists, etc. When I use the toolbar to save a record, I keep getting an error about the saving of the state. Currently the state names are being displayed in the dropdown list with the value set as the state abbreviation. I thought that it would be the value that is saved, however I am getting this error: &quo ...Show All
Peter Sarrett how to convert the below line of vc++ code to vb
how to convert the below line of vc++ code to vb 'width_mask = (BYTE)(((1 << (start_bit - end_bit)) - 1) << 1 | 1); 'tthe << character is used for bit shifting and the | character is an or. Dim width_mask As Byte = CByte ((((1 << (start_bit - end_bit)) - 1) << 1 Or 1)) There will be some differences in behavior if start_bit <= end_bit. Best regards, Johan Stenberg Dim width_ma ...Show All
outcast1881 DLL PRoblem
Hi All, I'm newbies to create DLL file. I have wrote a custom class file, and I compiled it as a DLL. However, I just couldn't get it register with regsrv32. And I couldn't import or add this dll as a references to MS Access as well. Can anyone give me some idea on what's the basic step we have to do in order to create a Dll file and use it in MS Access REgards, silkkeng Yet, still couldn't get it work. Arh...: can anybody outthere give ...Show All
kelly mcclurg Loops
Hello, I am trying to create a program that generates the fibonacci series numbers between 2 and 1,000,000,000 (1 billion). The user enters in an number in to a textbox (between 2 and 1 billion), and the program then outputs the Fibonacci series up to that number in a list. The program is also supposed to output the number of numbers found up to that specific number and the sum of all those numbers found. It would be easy if the task was to, let ...Show All
richdenis "hello world" won't run
I am a newbie who just downloaded visual web developer 2005 express on my xp home system. It installed without errors as far as I can tell. Is express really stripped-down, and they don't tell you what is missing Like this "hello world" program example: I can't paste the example page here, Right-click WON'T LET ME! Anyway, the page says "create visual basic console application project". The closest I could find was a ...Show All
Joyce Behrendt How to halt a program???
Let say i have two program called program A and program B, i run program A, but inside program A, i use [call shell(C:\....\programB.exe)] at the 2nd line of my codes in program A, how do i stop program A at 2nd line, until i finished running program B then only continue execute the rest of the code from 2nd line in program A Please help, if you dun understand wat im saying above, u can ask ...thanks a lot!!! Hi, Try using the Sh ...Show All
David Huerta Textbox Text
Once i've opened up my program i have added code to make the filepath come up in a textbox, the only thing is, u cant see the whole filepath, so is there anyway to make it continously move in a marquee fashion Yes.... this was cute! Enjoy.) There are alternative such as innocuous labels and multiline textboxs, but if this is what you want, you have it. Public Class Form1 Protected count As Short = -1 Protected Str = ...Show All
NiroViji Loading Crystal Reports Report, How To Stop Prompt Enter Login ID And Password, This Never Happen Before
How do I stop VB from asking me this I want to view the Crystal Report immediately without the prompt. With a simpler version of my application, it never asked me this. Thank you, Christopher Lusardi Thanks, Thanks, Thanks, This is a pretty common problem. So common that they created a nice knowledge base article on it which I think should shed some light on the situation. http://support.businessobjects.com/libr ...Show All
Nag1010 SQL 2005 and VB.net 2005
I have a question dealing with SQL and VB. I have been looking for a way to "Browse" my SQL for different Databases for useage in my programs. Is there something I'm missing dealing with a way to browse the SQL My app under Access had a dialog to select which MDB you wanted to use. I know SQL is Different, Need to get list of Servers. Now I want to be able to have the client select which server to use, and which database. I don't use ...Show All
51ChevyTruck Vb2005 - ReleaseCapture
Might anyone have working VB2005 code for ReleaseCapture After a lot of playing with this and looking at many different methods, I decided that following would work best for me. I did not use the vb2005 cursor.position because it's a shared method and requires a lot of agony. As much as I dislike it I resorted to an API routine GetCursorPos and a keydown sampling interval of 20 milliseconds. It works very well. For those of you familiar w ...Show All
CaffeineAddict Automaticlly Press enter in a VB Program
Is there anyway the I can make a program to automaticly press Enter after a certain time with a timer.. I tried the SendKeys and that did not work. Any suggsetions would be great Thanks Yes ...if yoiu are in .net then make sure your eventhandler has a *handles* clause Public Sub Timer1_Tick() Handles Timer1.Tick DoSomething End Sub true that. Sorry for the misinformation ...Show All
sp00k113 API Call in VB 2005 Problem
I am trying to make the following API call that worked in VB 2003 in VB 2005 and I am receiving the following error: PInvokeStackImbalance was detected Message: A call to PInvoke function 'GetWindowData!GetWindowData.GetWindowData::GetWindow' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature mat ...Show All
Vano How does VB compare to C# part 2
I am sorry but my question was NOT answered at least not technically. But, what is clear is that there is a lot of strong feeling against VB's syntax that does not exist against C#. Several post indicated that they would not hire a VB programmer unless they programmed in C# syntax. I really find that disappointing. I thought the purpose of the framework having several syntaxes was to promote choice for the developer and make that choice s ...Show All
