-
- Invalid Column Name
by smoothdogg00
- 14 Replies
- Last post
by smoothdogg00
- Hello, I am using Visual C# 2005 Express Edition and I am trying to connect to an SQL database. I have created the database with the following columns: id, first, last, phone, date I have created a binding source with a Data Grid View and I am trying to load the data. However, I am getting an "Invalid Column Name" error for NO apparent reason. Here is what my code looks like: SqlConnection con = n
-
- Looking for images
by Jeremy6996
- 14 Replies
- Last post
by jgalley
- Basicly, I need to know how to write a code that can find for example the picture msdn on this website, then give out its x,y cords, would that be possible.
Here to paint a better picture. I need to to be able to point out for example all the x,y cords of a certain picture, that is visable with our eyes on the moderator. For example. I could have an application that had a picture on it. An
-
- Adding Items to a listbox with openfiledialog
by Michael Coomer
- 4 Replies
- Last post
by m_coomer146
- Im trying to add files to a listbox with the openfiledialog box. I have multiselect enabled on the openfile dialog. When i select the files that i want to add to the listbox only the first file is added to the listbox. How can i get all the files to show up in the listbox
This is what i have--
Private Sub AddFiles()
Dim ofd As New OpenFileDialog()
ofd.Filter =
-
- LoaderLock was detected
by Suneel VLN
- 7 Replies
- Last post
by Spud1
- I am using Visual C# 2005 Express edition and working with Windows Form based application. W hen I type anything in the text boxes or when i try to operate the form using Keyboard i am getting the following error message. LoaderLock was detected Message: Attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since
-
- forms designer doesnt show "dots" in grid
by wyz
- 1 Replies
- Last post
by nobugz
- Hi,
I hope this is the right place; I just dowloaded, installed the express edition, bought a book, and am trying to learn;
I'm used to placing objects on a form (like in access) and usually see "dots" in a grid fashion to ease placement, and usually for snap-to; but, on this edition, all I get is snap-to lines to place objects line up with other objects.
That idea is really gre
-
- reading in CSV files
by wetcoloredarch
- 8 Replies
- Last post
by wetcoloredarch
- I want to read in, then manipulate different lines of data from a CSV file ... before manipulating the data and then placing the data in a database format and structure suitable for other analysis and review in TBD (Access, SQL or Excel)
I seem to be having trouble with the first, perhaps most trivial step. I cannot read in the CSV file (filename.txt) past the first line. I have tried snippets,
-
- Publish to Authenticated Website
by Jough
- 9 Replies
- Last post
by Jough
- I would like to publish my program to a website which requires authentication and allow the user to download updates on application start from this location. Is it possible to specify login information so the end user may retrieve these updates Keep in mind: I am using VC# 2005 Express. I have a feeling that I would have to upgrade to Professional for this feature.
-
- convert string to datetime variable
by dilibu
- 3 Replies
- Last post
by Dave299
- Hello How can i convert this string "20070514 11:01:00" to datetime variable in vb.net Thanks for helping
-
- Using Variables
by GlennZarb
- 6 Replies
- Last post
by DMan1
- Image I have a structure like this:- Structure Numbers Dim One As String Dim Two As String Dim Three As String End Structure Now later on to insert a value in variable ONE I can do like this. Numbers.One = "2" But If I have a variable with the value Two in it and I want to insert a value in variable Two Can I do something like the following:- Dim num as string = &quo
-
- Table adapter doesn't perform well on the queries consists of "LIKE" command
by Captain Jack Sparrow
- 5 Replies
- Last post
by js06
- I found a problem retrieving records from the database using table adapter. When I call the query from table adapter in the program code, that doesn't show the same as it showed when I run that query in "Execute Query" of "Query Builder". For example, The column "Name" in the table "Patient" contains the following rows: Wai Aung San Yan The SQL state
-
- Compiler bug: long is incompatible with int and __int32
by Jason Doucette
- 6 Replies
- Last post
by Jason Doucette
- On this page, "Common Visual C++ 64-bit Migration Issues":
http://msdn2.microsoft.com/en-us/library/3b2e7499(VS.80).aspx
It states: "An int and a long are 32-bit values on 64-bit Windows operating systems."
Thus, an int and long are 32-bit values on 32-bit and 64-bit Windows, and should be compatible. However, the following code:
Code Snippet
un
-
- How to create a database
by Donald121
- 5 Replies
- Last post
by oscarjaime
- Hi Guys, I need some help to start off.
I use only VB Exp and SQL Exp. I watched Beth Massi's video presentation on how to create a database but could not replicate it. This is because my toolbox does not contain any code snippets to make the stored procedures. I tried using code snippets option from the tools menu but cannot transfer it to the toolbox, and also there isn't a snippet for update
-
- Shutdown computer app. Visual C++ 2005 express
by PsySpooky
- 3 Replies
- Last post
by TilakGopi
- Hey all I want to create an application that shutdown/log off/restart a computer after a timer expires... These are the basic futures i whant to include in my app. Im a begginer on vc++ and i dont know where else to ask. Thank You
-
- Between Two Dates
by Cesar Francisco
- 3 Replies
- Last post
by Cesar Francisco
- Hello,
How to code this statement
If date is between
1/5/2007 and 1/10/2007 then week is 1 1/12/2007 and 1/17/2007 then week is 2 1/19/2007 and 1/24/2007 then week is 3 1/26/2007 and 1/31/2007 then week is =4
-
- A Layout Question
by gibbo1715
- 1 Replies
- Last post
by js06
- Hi All
I would like to have a treeview on the left of my form (Which I will put on a panel), a richtextbox on the right (also on a panel and i would like a table layout panel in the middle which fills the gap in the middle, my question is how do i get the middle tabel layout panel to change size with my form and always fit the gap between the other two panels whilst the other two stay fixed
-
- TableAdapter.Update does not save data
by Mable
- 14 Replies
- Last post
by Tom Hallmark
- How can I save data entered in a dataset via the UI I tried the code suggested in the "VB Guided Tour", Private Sub Form1_FormClosing( ByVal sender As Object , ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me .FormClosing Me .AddressesBindingSource.EndEdit() Me .AddressesTableAdapter.Update( Me .SQLdbDataSet.Addresses) End Sub but all changes are lost when
-
- How can I insert my program to the msconfig startup list?
by yanivpinhas
- 14 Replies
- Last post
by SJWhiteley
- Hi,
I want that the user will run my program ones
and then the program will run automatically when the user
is turn on the computer.
How can I force that my program will start before other
program that in the list(when the computer start)
If I can run my program automatically only 1 restart
Best Regards,
Yaniv Pinhas
-
- ADC to sine
by gpugelni
- 14 Replies
- Last post
by gpugelni
- Hi,
I have this piece of code wich plot sine and cos sinusoide in picture box, and it work ok, but I need different math functions wich will from capture ADC data ( 8 or 10 bit data) plot signal on graph like sine wave, (something like winscope) becouse now signal looks like stairs :) .
So I need some help about this and how to implement that in VB2005. Some simple sample for start will be n
-
- Parse Exception help
by CodeCorey
- 14 Replies
- Last post
by paoloTheCool
- Hi, I get an exception when running the following code:
Code Block
public void CalculatePrice() { double cost = 0.00; double tax = 0.00; double total; cost = Int32.Parse(txtCost.Text); tax = Int32.Parse(txtTax.Text); total = cost * tax; } When I go to type a number in one of the boxes it says the my method arguments could possibly be in
-
- Still no luck
by Little Smithy
- 13 Replies
- Last post
by tangotom
- Hello Community,
I am having some trouble with updating information in my databases. I show all the fields in details view (it is more appropriate) and the toolbar full of useful navigational tools appears on the form. The save button, when clicked in runtime, does not appear to save any of the new data, as when I check the database or restart the form, no information appears to have been i
-
- Newbie: How to make a Library... step by step
by Alquimista09
- 10 Replies
- Last post
by Alquimista09
- Hi, I'm brand new to .NET technology, learning with VB.NET 2005. Last time I built a library was several years ago using Delphi. Now I have built some classes (forms and plain code) that I'd like to use for future developments maybe in other .NET languajes. How can I do this in .NET I have read arround on using GAC, but may be I need a more step by step guide on how to: 1- Generate DLLs to be pub
-
- down load data from mainframe
by sankarganga
- 2 Replies
- Last post
by sankarganga
- Is there any way to download data from main frame if the user have the access to the main frame with VC#Express 2005
-
- Only Capital letters in richtextbox
by cjk
- 14 Replies
- Last post
by js06
- I need to know a code to only have capital letters be able to be in a richtextbox. No numbers, no lowercase letters, and no symbols. Can someone help me
-
- File overwrite
by Cesar Francisco
- 7 Replies
- Last post
by Cesar Francisco
-
- Problem with Process
by micronax
- 3 Replies
- Last post
by nobugz
- Hi, i need to convert a file into another format using another CLI Based APP "ffmpeg.exe". I defined the path to the executable and the WorkingDirectory and the arguments, but if the process.start-method is called the CLI-Window just pops up and closes at once again. Here's my code:
Code Snippet
Dim p As New Process With p .StartInfo.FileName = appPath & &q