-
- Populate listbox from Access 2007 Database
by Will Stanway
- 1 Replies
- Last post
by Feng Chen - MSFT
- Hi Everyone,
Ive got an Access 2007 database which I connect to programatically. On my form i have a listbox which i want to use to display a list of different documents.
The code i use for a textbox would be simply.
Code Snippet
dim ds as new dataset
dim inc as integer = -1
textbox1.text = ds.tables("db").Rows(inc).item(1)
-
- calender link to database
by MechEng85
- 14 Replies
- Last post
by Stanley007
- I'm trying to create a database of projects. when a project is entered i want the entered to link the database info for that project to the calender date so that when a user clicks on a calender day the projects for that day are shown in a message box. Any ideas
Thanks
-
- System.IO.IOException when trying to delete
by H4N5
- 5 Replies
- Last post
by Figo Fei - MSFT
- I have two listviews showing the images in two different folders. When I try to delete or move an image with System.IO.File.Delete() or System.IO.File.Move(), I get a System.IO.IOException, with the message: The process cannot access the file filename because it is being used by another process.
-
- How to initialise an Array of structure elements
by Chrisso
- 4 Replies
- Last post
by Chrisso
- I'm switching from C++ to VB and trying to create and use an array of structure elements.
In C++ this works fine:
struct frac{ char name[30]; double x1,y1,x2,y2; } fracarray[5]= { {"Archimedes Spiral",-12,-9.0,12.0,9.0}, {"Bare Pythagoras Tree",-3.5,-2,4.5,4}, {"Binary Tree Structure",-2,-.5,2,2.5}, {"Brownian Line",-1200,-900,1
-
- Game Programming Question
by RPGWizard_720
- 6 Replies
- Last post
by Secra Berries
- I have Visual C++ Express Edition on my computer and I'm interested in creating computer games. I've installed DirectX 9.0c SDK on my computer and it works fine. I expected some other files to be included with VC++EE, but they weren't. I needed the windows.h file primarily, and I found a SDK on MSDN that has it, but when I installed it and started to debug my program, I got about 10 errors saying
-
- "It's for the children..." drawtext erase remove
by Nightowly
- 8 Replies
- Last post
by Nightowly
- Howdy, New program for the kiddies...
This time, I'm creating a small graphics program where the alphabet letters appear, move, resize, recolor, sort, etc.
I'm just getting started...I've got the first letter to move around the screen, and using the font size, color etc, I can get the "A" to move along in a path.
I'm using: TextRenderer.DrawText(GraphicsFun, "A" , Me .
-
- concerning media player
by clint 2
- 14 Replies
- Last post
by cheyenne
- renee
where do I post pause button code
-
- VB 2005 Express - Callstack - Up/Down button - where is it?
by unix2vb
- 2 Replies
- Last post
by unix2vb
- Most debuggers I've delt with for the last zillion years have a "callstack button" of some type, that let you go up/down the callstack seeing where, when and why a function was called.
Sometimes, you hit a breakpoint and you ask: How did I get here Often you only need to click the "UP" button a few times to see how you go there.
It is also helpful to be able to go
-
- Print Form
by Beginer user
- 2 Replies
- Last post
by Beginer user
- Hi Dear
As a part of my college project, I have to creat a confirmation letter to be sent to client
I have created the form which you can see it here http://www.qulearzo.info/VB/VB.htm but unfortunatly I do
not know how to set margins and print it as company offecial letter.
Thanks for your help
-
- connect to databse
by daiman
- 2 Replies
- Last post
by manish_parmar
- i am interested in learning c# on my own so i would like to know how to connect to access databse
-
- Merging Multiple Word Files with C#
by Yourbeliefs
- 12 Replies
- Last post
by Yourbeliefs
- Ok.. I'm undertaking a major project with Word files. I'm looking to convert my dad's old method of writing appraisals, which is basically him writing down everything, shipping it over to his typist (who just modifies some existing documents with the new information), who then emails it back to him, and I go and throw in all the exhibits (photos, legal papers, etc.) This is not very efficient. My
-
- reading text file
by Tigerwood2006
- 0 Replies
- Last post
by Tigerwood2006
- Hi, I am converting some VB6 code into VB.NET at the moment. Have a question related to the file opening. See, if i try to open a text file from VB6, and if the line i am reading now is in the format of "a1, a2", I can use the following code in VB6 to read them out very easily: Input #1, a1, a2 while in VB.NET, i have to use the following code to reach the goal: dim aar() as str
-
- Fax
by Anonymous123
- 1 Replies
- Last post
by Feng Chen - MSFT
- How do make a WORKING fax software in Visual Basic
(If possible)
Please tell me the code.
Thanks, RYAN
-
- Checking if a word contains a vowel
by Hardrock302
- 3 Replies
- Last post
by ReneeC
- This program converts words into pig latin I need to add code where if a word does not contain a vowel it adds "-way" to the word. I need some help. Your suggestions are appreciated.
-
- message box with OK and CANCEL buttons
by sankarganga
- 10 Replies
- Last post
by sankarganga
- i want make message box with ok and cancel buttons i am using vc# e edition
-
- configuring the environment for first time use on every load
by Darren Woodford
- 3 Replies
- Last post
by Darren Woodford
- Greetings everyone
I have recently installed VB 2005 Express edition onto my laptop. It is running Windows XP SP2.
Everytime I load VB 2005 Express I get the message "Microsoft Visual Basic 2005 Express Edition is configuring the environment for first time use. This might take a few mnutes." Is this normal I would have expected this message only the first time I loaded VB 2005
-
- Preparing for OSDev
by TheCoder577071
- 3 Replies
- Last post
by orcmid
- How do i disable things like the standard libraries usage in a project For operating system development, i need to disable those. It can be done with other compilers, but i could not find the option for msvc++. Does anybody know how This place suggests that i disable std libraries and for good and obvious reason: a new os is not going to have those yet.
-
- start application
by Matthijs Koopman
- 2 Replies
- Last post
by ahmedilyas
- How can i start another application for example Google Earth
-
- Does SQL have a function like IIF?
by mikedp
- 14 Replies
- Last post
by mikedp
- Hello, I have been working on a charges/payment table as an expense sheet. With a lot of help from you, I was able to create a grid table which included all individual transactions(balances/charges/payments) for each person, and the totals for all persons and their balances/charges/payments. ( But was unable to just show their subtotal on a gridview without showing every single transaction for eac
-
- How to Start and Stop ProgressBar
by WalangAlam
- 6 Replies
- Last post
by WalangAlam
- Im using windows xp sp2 Here's my code and yet nothing is happening in my progressbar: Private Sub frm16PFas_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'stop the progressbar when the form load
mdi16PF.STATUSToolStripProgressBar.Style = ProgressBarStyle.Blocks
mdi16PF.STATUSToolStripProgressBar.Value = 0
End Sub Private Sub COMPUTEButton_Clic
-
- giving certain characters in richtextbox a different color
by Belisario93
- 3 Replies
- Last post
by Dave299
- Hi! I am making an html text editor that colors the syntax of the html. how do i make an effect that looks like this in a richtextbox : < html > < head > < title > My home page </title > < /head >
< body bgcolor= "000000" text= "ff0000" > blah blah blah blah blah blah blah < /body > < /html > Also, how do I Open a file
-
- Finding a string in a file and write below it
by Casey_Phil
- 14 Replies
- Last post
by Casey_Phil
- I am creating a program that needs to find a string in a file and then add a string right below it. Here is an example of what I want to do.
Open "gui_global.spr"
Search for "@reference=64 @tmaterial=interface"
And then add this below it, as if I hit the enter key,
b_hatak gbhatak 0 0 64 64
I have been searching around on how to do this, bu
-
- Volume Control Help!!
by Wowy7
- 3 Replies
- Last post
by ReneeC
- I am trying to make a application to control my computers volume, but how to i do this
-
- Problem Selecting a Date Range and Time from Text File using DataView
by coloradodean
- 1 Replies
- Last post
by MazterzDemon
- I am reading a textfile of Currency tick prices for a 1 week period. The format of the text file is:
EURUSD,6/11/2007 4:00:59 AM,1.3443,1.3446
I have read the text file into a DataTable and have created a DataView to select rows
The rowfilter = "[Time] >= #6/11/2007 4:00:00 PM# AND [Time] <= "6/12/2007 3:59:59 PM"
When I try to do the following:
Dim
-
- " GetThumbnailImage " Question
by Apopka_Pilot
- 12 Replies
- Last post
by Apopka_Pilot
- The code shown below was copied from a previous post & it works fine for "image files". I would like to make this work like "Windows file Explorer" works when you change the view to "Thumbnail" but for CAD (AutoCAD) files. While in explorer, I could see the thumbnail of my CAD files. Can this be accomplished I already know about the "dwgthumbnail.ocx" th