-
- Newbie ADO.NET Problem
by Shin Kenshin
- 4 Replies
- Last post
by Shin Kenshin
- Hi,
I have begun to learn visual c# express using Absolute Beginner¡¯s Video Series
My problem is with Lesson 9: Databinding Data to User Interface Controls ...
I have downloaded and compiled the project without problems. When my application is running and i click on the SAVE button seems that the database it is brought up to date, but if i close my application and restart it
-
- combobox
by clint 2
- 8 Replies
- Last post
by clint 2
- Hi all
I have a listview which displays all the songs in a given directory....
the selected directory is chosen by means of a combo box ...
if I type a new name in combobox1.....how do I add it to the item collection
eg...if I want to add....BOB
this code
combobox1.selecteditems.add (combobox1.text).......adds B...then BO....then BOB
thanks
clint
-
- Creating a "hidden" file
by Nate879
- 10 Replies
- Last post
by Feng Chen - MSFT
- How do I create a hidden file with VB
-
- WebClient.OpenReadAsync Keeps on Hanging.
by Bibek
- 2 Replies
- Last post
by Bibek
- Hello all, I am trying to Post the data on the server using WebClient.
The code is as follows
Code Block string UpdatePath = ConfigurationManager.AppSettings["TraderUpdatePath"]; WebClient Client = new WebClient();
Thread.Sleep(1000); UriBuilder uBld = new UriBuilder(UpdatePath); //Client.OpenRead(UpdatePath); Client.OpenReadAsync(uBld.Uri); MessageBox.Show("This
-
- Set display for a power point presentation
by WibblyWobbly
- 1 Replies
- Last post
by WibblyWobbly
- Currently I'm able to load up and run a power point presentation using the Office Interop functionality in C#. What I'd like to do now is specify what display ( monitor ) the presentation shows up on. I realize this can be set by entering the show setup and choosing the monitor but I don't want to require any user interaction. Eventually I'd like to have multiple slideshows running on multiple mon
-
- Need major help please
by Samwv77
- 28 Replies
- Last post
by Samwv77
- Im trying my best but its not working out for me, what i need is to know how i would go about doing an application that enables the user to put information into a multible text boxs then click a save button and it will save it then be able to load it later, for example
(label1) Name: (textbox1)John Doe (textbox2)3337 Moorehead Ave
and when the save button is clicked it will save thi
-
- backgroundWorker issue / question
by C#Newbie01
- 7 Replies
- Last post
by C#Newbie01
- I have never worked with a backgroundWorker, so please forgive me if this is a stupid question. I realize that I can't make UI changes from within the backgroundWorker, so I did it like so... I added a backgroundWorker, then in the backgroundWorker1.DoWork Event I added the following: private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e) {
//Populate the DataGridVi
-
- Replacing a window's TitleBar problem
by Wibs2
- 4 Replies
- Last post
by Tall Dude
- Hi, I wish to replace the TitleBar for my application, like so:
Code Snippet
Public Class Form1 ' API functions Private Declare Function ReleaseCapture Lib "user32" () As Long Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Object) As Long Private
-
- Variable Array identifiers
by Matslot
- 8 Replies
- Last post
by jo0ls
- I have 3 arrays: Public AllTempTabs(9) as form Public AllListTabs(9) as form Public AllEventTabs(9) as form Ok now i have a sub that parses a variable "TabType" as string. Say we call the sub... MakeNewTab("Temp") In the sub we have this line: Dim CurrentArray As Array = CType(("All" & TabType & "Tabs"), Array) This line is meant to make &quo
-
- Adding images to a project?
by stallion_alpa
- 12 Replies
- Last post
by stallion_alpa
- I want to sort of store my images I use in my program with my project, so that other people can see them is there a way to do this I have an image stored under resources but when i go to call it ie mapImage=My.Resources.Washington it says it isn't a member of Resources. Anyone know why this is the case, I have set it as an 'Embedded Resource'.
-
- i need help with some code for programatically clicking mouse buttons
by thief in the night
- 14 Replies
- Last post
by jgalley
- alright here is my problem, when i try to click a mouse button using mouseeventargs in C# it asks for four inputs; button, x, y, and delta. my question is what does it want for delta it said something about the mouse wheel but i dont need the mouse wheel for anything...what do i do if there is an easier way to click a mouse button programmatically please let me know.
the code i am using to
-
- Visual Studio 2005 can't build after upgrading...
by jiapei100
- 1 Replies
- Last post
by AlainBicycle
- VS.NET 2005 worked fine before I upgrade probably VS.NET 2005 SP1. But, after I upgrade VS.NET 2005 SP1, I can only compile single file, but can't build the whole project.
Every time when I tried to build the whole project, the IDE just stuck there and showed "Build Started..." without any improvement. My god... I can't figure out.
Can anybody help
Thanks
JIA Pei
-
- BitBlt and moving picture
by VisualBasicJC
- 14 Replies
- Last post
by nobugz
- Public Class Form1
' This is a simple example of what I am trying to do.
'
' My idea is to redraw an image but without "flickering"
' while it is moving.
' Later, I will add a background image so, this example
' should have two images visibles when it is working:
'
' -> First image is a moving image:
' I used two pictureBox
-
- vb express publishing database
by delos555255
- 8 Replies
- Last post
by Kathleen McGrath - MSFT
- newbie question, I'm sure...
I've created a windows app with a connection to a my .mdf file in an external directory, not one in the app's root directory. I didn't include the database file in the project, as that seems to never really save the data, then.
my goal, of course, is to have the app add to the database. go figure. the app only seems to add to the database when I use a file no
-
- Reading XML files
by frxstrem
- 2 Replies
- Last post
by spotty
- How do I read XML files to an array
Example:
I want to read this XML file:
Code Snippet
< xml version="1.0" >
<root>
<item>First</item>
<item>Second</item>
<item>Third</item>
</root>
Into a ListBox and make it show up like this
First
Second
Third
-
- picture linking
by lildjdotti
- 11 Replies
- Last post
by lildjdotti
- Halo,
I need to use a picture as a link to open a file.
Whenever someone clicks on an image in my application it opens a certain file on my pc from the link i specify, the item i want to open is not part of my project
-
- Publishing w/ Application Files
by Fase
- 2 Replies
- Last post
by js06
- Is there any way to include folders when publishing I have a folder filled with images that I was to publish with my application.
-
- fillby query using like
by normatstudio
- 9 Replies
- Last post
by bhamjer
- I am attempting to fill a table based on using fillby as show:
what am I missing the fillby returns no values even for a single letter in a DB with over 500 records
Private Sub FillByNameToolStripButton_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FillByNameToolStripButton.Click
' Add search characters %
Dim strname As String
strname
-
- 3d/ 3d Environment Question(s)
by mjwsoft
- 3 Replies
- Last post
by Martin Xie - MSFT
- Hello, Just a few questions on 3d and movement im sure many people not only myself would like answered. First off, can you make 3d applications in vb express I think i heard that you can, but how How are positions references on 3d Maps, is it co-ordinates (34,6005,30) etc How could i map 3d environments How could i load a 3d environment into an application so that when i run it i will be in the 3d
-
- Mouse move and colours
by Semicolin
- 5 Replies
- Last post
by Semicolin
- Hi. basically to give you a breif idea of what i'm doing. I want to make a vb application where i can select a colour which is on my screen. i then push a button and it moves my mouse to that colour. i've looked on google and had no luck. can anyone here help me please. i don't want to use co oredinated because the screens colours will be changing around thnx
-
- Help
by Ill Tchr
- 5 Replies
- Last post
by Martin Xie - MSFT
- I believe that I have downloaded all that I am supposed to and am ready to work on an application. I am not sure how to get the screen that I am expecting...pls help as I am stuck at this point.
-
- Form Resize Question?
by MLyons10
- 3 Replies
- Last post
by Cameron Kloot
- I imagine I am missing a property or something, but I'm not sure what I'm forgetting, etc. I was hoping someone might be able to answer this (Admittedly stupid) question. I have a form with a pictureBox docked in the form. I set the Form Border style to Sizeable (Though I would prefer the user to not be able to resize the form). I imagine this is necessary. If it isn't, please let me know. I set t
-
- Saving data to my database server
by Addel Salman
- 4 Replies
- Last post
by Addel Salman
- Why any data/record don't get saved to my database
- I tried with SQL and Access
-Even I replayed Tutorial video, and learning VB through the VB Ex.Edition 2005 several times.
- Codes of TabelBindingSource, and TabelAdaptor are correct as standard.
- Primery Key on the database has been set.
Hope to get some help. Thanks
-
- Making a fullscreen form
by frxstrem
- 8 Replies
- Last post
by isidat
- Hi.
I'm just wondering, is there any code that could make my form to fullscreen ( not maximazed, but fullscreen)
Thanks,
Fredrik O.
-
- Using Autocad & .bmp in picture boxes?
by Reid Williams
- 5 Replies
- Last post
by Reid Williams
- This is probably not be too difficult once you know how, I just hope someone can tell me
I have several (actually quite a few) Autocad drawings of individual parts that i have exported as .bmp files. When I bring these into a picture box in VB they are very poor quality unless i make them very large and it is difficult to match the colors in visual basic with the background and the lines. It s