Serious Issue with backgroundworker

2369 byte By sureshvijayan at 2007-12-5 11:40:32
Hello TEchs,See the below code first :void backUpDB_bgWorker(string servername, string DBName, string backUpPath) { lock (this) { addBackUpDB_AL.Add(new string[] { servername, DBName, backUpPath }); BackgroundWorker workerBackup = new Ba...

[2008] Creating a class, or struct like Directory

935 byte By Icyculyr at 2007-12-5 11:40:31
Basically I want to make my own class or struct, I think it would be a struct.(I refer to structures as structs)Edit: I have checked around, and I am thinking what I might need is called a 'property' if that is correct could anyone tell me how to use one?What I am wanting to do is like...

[2008] Advanced Drawing and Graphics on forms

359 byte By Icyculyr at 2007-12-5 11:40:24
Ok, basically I would like to make a really nice looking application, and (correct me if I am wrong) I assume it is done with drawing on your form,For example, making the title bar look really cool with some gradients etc..and making the buttons / background look really awesome aswell...Does any...

Multi form project

140 byte By FooFighter at 2007-12-5 11:40:22
I'm making an application that has multi forms. Where would I declare variables that can be accessed from all forms within the project?

Relative Path In Connection String

277 byte By MaximilianMayrhofer at 2007-12-5 11:40:19
Hi is there a way to use a relative path, instead of an explicit path within the connection string? I know the back-end will always be in the same folder as the front-end, but if the user moves the folder somewhere else, i want the connection to still work. Is this possible?

[2005] Web Broswer...

144 byte By kiwis at 2007-12-5 11:40:16
I'm wanting to check if I get an error on my web browser... I want to check error 404 etc... how can I check to see if I have one of these?

[2005] Skeptical about GetHashCode

528 byte By chiku at 2007-12-5 11:40:14
Microsoft says that GetHashCode always returns a unique hash codes for different strings. But coming to think of it GetHashCode returns a 32 bit integer that means it can represent only 2^32 different variations. Which means that there is a possibility that 2 strings can be equal. i.e....

[2005] Help how to insert text into word document

275 byte By edgarbenilde at 2007-12-5 11:40:13
Can anyone help me how to inset text to the .doc file or word document file.<br/>in my situation i have the i had a file which standard body message i just want to add the what i been selected ex. customerName after that there company and tel.<br/>please help how..

[2008] Help with moving folders.

341 byte By Gharole at 2007-12-5 11:40:12
Okay, so I was attempting to make a program that would move a folder containing pictures from my camera's card (F:\) to my computer (C:\). I used the System.IO.Directory.Move routine, but it only allows moving directories on the same drive, not acrost drives. So does anyone know a way to C...

[2005] Question about thread order

913 byte By rack at 2007-12-5 11:40:08
If a Threat is created, will that thread always execute in order?in the below illistration, can runthings be run more then once, at the same time? Or does it run once, then end unless I execue again?Just thinking about why some of my code that works to copy a file from one location on a local h...

[2005] Windows Looks For Msi

353 byte By robertx at 2007-12-5 11:40:04
Sometimes when I click on the desktop icon created by a setup programme, rather than starting my application, Windows goes looking for the MSI file used in the setup. I find that this often happens with installation packages which include the .NET Framework and SQL Server Express. The problem is...

Drag and Drop

1378 byte By sckelf at 2007-12-5 11:40:03
What I'm tryin got do is allow the user to arrange buttons, textboxes, labels etc. I think the drag drop would be best to use but i dont know how to do it. This is what i have so far but it's obviously wrong.just trying to do it, which is why nothing is named Dim m_MouseIsDown As Bo...

[RESOLVED] [02/03] Need help about Crystal Reports

240 byte By deien at 2007-12-5 11:40:02
Hello Everyone!<br/> I'm just new in using crystal reports in VB.net. How do I create an RPT file? Do I have to use Crystal Report Designer of another software? Or I can already create an RPT in Vb.net?<br/>Thank you so much! :)

[2005] Im new to this and am stuck...

255 byte By Vagnath at 2007-12-5 11:40:00
I am trying to modify my little "Hello World" application so that I can click the button again and make the text on the button change yet again, I feel kind of stupid because I know I am doing something little wrong, can anyone help me?<br/>--Vagnath

[2005] how do i determine byte array encoding?

82 byte By .paul. at 2007-12-5 11:39:59
how do i determine the appropriate System.Encoding object for a system.byte array?

Visual Basic 2008

111 byte By RonR at 2007-12-5 11:39:54
Is Visual Basic 2008 really VB.net?<br/>I downloaded the free version and I am taking it for a test drive.

[RESOLVED] [2005] convert System.Byte[] to string

61 byte By .paul. at 2007-12-5 11:39:53
how can i convert a System.Byte[] array to a readable string?

[2005] Create a Image having a image data in a byte array

530 byte By Lasering at 2007-12-5 11:39:49
Hi!!I have a byte array containing pixel information, there are 3 bytes for each pixel(Red, Green , Blue). And I want to create a image with that byte array.I already have a code that does that but is extremely slow, only after about 5 secs he shows the image and the image is only 300x300 pixels...

[2005] registry

136 byte By .paul. at 2007-12-5 11:39:44
how can i scan the registry recursively, getting all subkeys + values, then adding them to a list? (listbox, listview or just a textbox)

Faster intervals

1370 byte By Shaggy Hiker at 2007-12-5 11:39:41
I'm trying to get a slightly better resolution than can be accomplished through using DateDiff to subtract times. The purpose behind this is that whenever a certain event occurs I need to perform a calculation. These events can occur more than once a second out to once every minute. I don&#...

[2005] help me in print button

337 byte By kalboako1987 at 2007-12-5 11:39:40
hello, do you know how to code a "print button"? because i dont have any idea... what i want to happen is the value in the textbox will be direct to the cystalreportviewer if the print button is clicked... because the print button in crystalreportviewer is working.. can someone please show me a...

[2005] LinkLabel Alignment

1305 byte By Zeeny at 2007-12-5 11:39:37
HelloI've created a hyperlink on my Visual Basic 2005 form using the linklabel class. I was wondering how I can align the linklabel to the center of the form?The linklabel width should be the same width as the form and the text within the linklabel should be centered.Thanks Private Sub Fo...

[2005] <Add New> Selection in Combo Box

447 byte By wsenter at 2007-12-5 11:39:28
I would like to find out if it is possible to add a "Add New Item" selection inside a Combo or List Box like you see in commercial apps like Quicken. They will have a dropdown box with <Add New> on the top of the item list that you can click and get a blank form to fill out for whatever it...

[2005] vb.net need help

669 byte By kevin hash at 2007-12-5 11:39:26
Hi,I have to make a program. See tihis link. http://www.sintamandscollege.be/5ib/18/ftotoVB.htmI just have to make sure that you can enter a startvalue and an endvalue then the program know how many times it has to repeat that sign you also give in in a textbox. It's the purpose that the lo...

[2005] changes listiew selected icon

91 byte By arshesander at 2007-12-5 11:39:23
how can i change the small icon of the selected item on listview? kindly teach me the code?

[2005] setup project problem

628 byte By ShadeZ at 2007-12-5 11:39:22
As part of my setup project i have included some Tool files that setup and configure the way the software works. Think of them as template files. After installing it may be necessary for the user to delete or replace one of these files with a new version ie replace a v1.tool file with a v2.tool...

[2005] re-use code

232 byte By Colino at 2007-12-5 11:39:20
Hi,<br/>i want to reuse some codes for some controls in other projects , is possible make a file with operation that i can do with normal controls (listbox, textbox, ecc) and call them wherever i need??<br/>if so, in wich way??

[2005] Open File Dialog filter problem

529 byte By Desolator144 at 2007-12-5 11:39:16
I wrote the filter for my openfiledialog object like this:ofd.Filter = "Access Database (*.mdb)|"and I think that's correct and it does show up as the only option for filetypes when the ofd opens but the files shown in the actual ofd when it comes up are any type. I could choose a jpg inst...

[2005] MSN and Visual Basic 2005?

209 byte By Spiderpig at 2007-12-5 11:39:15
Is it possible to use visual basic 2005 to do things on msn messenger (i.e., changing the status)?<br/>I've seen it done on vb6 before, so I'm wondering if it's possible on 2005, and if so, how?

[2005] Insert text data into word

1415 byte By edgarbenilde at 2007-12-5 11:39:11
HI, need helpi having trouble to understand i want to insert Data into word using vb.net 2005i have this below: Dim objWord As Word.Application Dim objDoc As Word.Document objWord = CreateObject("word.application") objWord.Visible = True 'Creates a new document...

[2005] Handler question

622 byte By aashish_9601 at 2007-12-5 11:39:06
i have three buttons and 3 linklabels. when the first button is clicked it opens the opendialogbox. On selecting the file the filename is stored in the linklabel1. The click event of first button handles the click event of the other two buttons.What i want is when the second button is clicked th...

[2008] ToolStripStatusBar Text cannot have special characters?

336 byte By ~*McoreD*~ at 2007-12-5 11:39:05
Hi All, What stumped me was: when I tried putting ToolStripStatusLabel1.Text = "Drag & Drop Files or press Browse". The text appeared as "Drag _Drop Files or press Browse". Obviously the & sign was missing. Is this a limitation or am I missing some setting/ Thanks, Mcore...

[2005] Why doesnt this work

372 byte By bgunwx at 2007-12-5 11:39:02
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Label1.ForeColor = Color.FromArgb(1, 100, 210, 40) End SubI have a label with some simple text on it. When I push this command buttun, nothing changes. Is there some property o...

[2005] Get all possible combinations of a word letters

472 byte By Lasering at 2007-12-5 11:39:01
Hi!!!I have a List with letters with a max length of 10. Lets say for example I have the letters "D","A","D","O". How can I get all the possible combinations that these letters can form like:DADODAODDODADOADDDAODDOAADDOADODAODDODDAODADOADDIn this case i would get 4!/2! combinations because there...

[RESOLVED] [2005] How to get filename from opendialogbox

143 byte By aashish_9601 at 2007-12-5 11:38:58
Hi! I am an learner of vb2005. I wanted to know how should i get only the filename (i.e without path) stored in a textbox when open is clicked.

[2005] Check process

303 byte By LogicalDohnuts at 2007-12-5 11:38:57
Hello, does anyone know how to control a process so that I can state in another function that "If process is working, then return". Just curious, haven't been able to find out much on how to control that, all I've read about, is WaitForInputIdle. But that's not what I need really....

how to format this string

164 byte By karthikeyan at 2007-12-5 11:38:50
i have string as follows<br/>dim s as string="1234"<br/> <br/>but i need string length as 6.so i need output as 001234.so please give syntax to do this please

[2005] Break apart fullname

488 byte By CoachBarker at 2007-12-5 11:38:48
I have an app where the name is stored as LastName, FirstName MiddleInitial. What I need to to is after the a new user is added, is to take the first name out of the string and use that as the users username. Also I need to take the last name out of the string and use that as the users password....

[2005] ClickOnce settings

614 byte By Sybre at 2007-12-5 11:38:47
I'm deploying my app through ClickOnce (because I need the autoupdate functionality) using the 'available offline' option and was just wondering...1. Can I change which directory it will be installed to on the users computer (it seems to have decided to use c:\TR - I assume it got...

[RESOLVED] [2005] LinkLabels

344 byte By Seraph at 2007-12-5 11:38:45
Ok, I have searched this forum and read the MSDN. The MSDN isn't making sense to me and nothing in these forums are exactly what I'm looking for. I just can't fricken figure out how to get a linklabel to work.What I'm trying to do is have the label pull up a web addy. i ju...

[2005] read xml values?

632 byte By fofa4ever at 2007-12-5 11:38:37
HiI am use xml statement I want know how can I read the values between tagsfor example<?xml version='1.0'?><soap:Envelope xmlns:soap=' http://www.w3.org/2001/12/soap-envelope'><soap:Body><Request><Query>LogOn</Query><Students><stude...

[2005] vb6 to vb.net ( showdialog)

649 byte By vishalmarya at 2007-12-5 11:38:36
in vb6 , before opening a form modally , if i need to run code in its Load event and some public procedure , I would write the following code : Dim Ofrm as myform load Ofrm Ofrm.someprocedure Ofrm.show vbmodalfor vb.net ( 2005 ) , i am using the following code : Dim Ofrm as myform Ofrm.show Of...

Scollbars on MDIParent

423 byte By boku at 2007-12-5 11:38:34
This one has been bugging me for hours!I have been trying to hide part of a MDIChild form on a MDIParent form just by moving it out of "screen" view. But everytime I do, no matter what I've tried so far I get a scroll bar along the bottom of my parent form, allowing me to scroll to the rest...

[02/03] Object Oriented Structure sample

392 byte By erickwidya at 2007-12-5 11:38:31
Does anyone can give example regarding ParentChild OO ?ex: Manajer have direct employee like Supervisor, Supervisor have direct employee like Staffso i can set the something like this Manajer.Employee.Add(New Supervisor)Supervisor.Employee.Add(New Staff)..but i just don't know about its Cla...

[RESOLVED] [2005] HELP: display if record is not found...

2511 byte By DiPP02 at 2007-12-5 11:38:30
Hello All, I am having a little trouble here and it seems like a pretty simple answer but I just cant seem to get it to work the way I want it to.Well here is the problem, I have a database of records, and the database consists of ID, Name, and Phone. WHAT I WANT: All i want to do is add an msg...

[RESOLVED] [2005] FormClosing problem

738 byte By Seraph at 2007-12-5 11:38:28
Is the FormClosing Event supposed to execute code upon a proper termination of the program (say an End command in a button)?Because if it is, I put code in there that should have run and it didn't.I'm using a System Tray icon that has a context menu with an 'End' command menu...

how to get function returns jagged array

129 byte By karthikeyan at 2007-12-5 11:38:19
hi, i have one function which returns jagged array.so pls tel me how to get the function return in another jagged array? please

Default button

100 byte By RobertLees at 2007-12-5 11:38:15
In VB6, a button had a default property. How do I get a button to react to the Enter key in vb.net ?

Docking properties window

162 byte By RobertLees at 2007-12-5 11:38:14
Somehow I managed to un-dock the properties window. How do I get it docked again ? I thought it was as easy as draging it to the edge, but I am missing something.

Launch MS Word

120 byte By RobertLees at 2007-12-5 11:38:13
I just want Word to be opened via a button click. I don't want to open any particular doc - just launch the program