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...
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...
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...
I'm making an application that has multi forms. Where would I declare variables that can be accessed from all forms within the project?
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?
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?
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....
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..
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...
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...
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...
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...
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! :)
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
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?
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.
61 byte By
.paul. at 2007-12-5 11:39:53
how can i convert a System.Byte[] array to a readable string?
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...
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)
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...
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...
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...
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...
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...
how can i change the small icon of the selected item on listview? kindly teach me the code?
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...
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??
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...
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?
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...
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...
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...
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...
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...
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.
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....
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
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....
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...
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...
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...
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...
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...
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...
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...
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...
hi, i have one function which returns jagged array.so pls tel me how to get the function return in another jagged array? please
In VB6, a button had a default property. How do I get a button to react to the Enter key in vb.net ?
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.
I just want Word to be opened via a button click. I don't want to open any particular doc - just launch the program