Answer Questions
waheyluggage Newbie needing help
Okay lets put it this way Im a high schooler, and I makin a browser , but in my drop down menu's I dont know how to make one of the buttons access the aboutbox.vb so when they click on it they get the about box. Can anyone please assist me Add an about box to your solution - theres a standard form template for this. In you menu's on the appropriate option click event put in code to call the about from Dim About as new frmAbout About.Showdialog() This assumes that you about form you create is called frmAbout. An about form is just like any other form - nothing special about it - and there is a standard template to create one in VB Express. I u ...Show All
CoDeR X get and set image button..
Hi all.. i'm trying to get an image button.. and set the same button with a different image when click on it.. any idea how Also,...i would like to incoporate these images to the programe...without pointing to a directory.. Hi andrealisp, I would add the two images to my project resources (right click on the resources folder and select add existing item, change to Image Files and move to the directory needed, select the image, click OK), and ensure that a name has been given to them in the resource settings file (right click the solution, select properties, resources tab, change to images (if the images just added are not there just drag and drop ...Show All
mscherotter Extending Work Items - Bug Tracking
One issue with the Team system bug tracking is that I cannot seem to see how testers, using Team Explorer, can simply paste screen shots into an issue. Instead they have to save the file manually and then add an attachment. Am I maybe missing something here Has anyone got a suggestion as to how I can get around this issue Thanks, Buck, That is just what I was looking for, thank you very much for your response. Keith There's nothing built into v1 that does this. James Manning has posted an add-in that does this. See http://blogs.msdn.com/jmanning/archive/2006/07/04/655757.aspx . Buck ...Show All
Doug Peck a few questions on VB
hi everybody i have just a few questions to ask: 1) I'm able to take screenshots of my form but not outside it, how can I. 2)When I take screenshots the image is a little bit off target in the picture box, how do i center it 3)when I open any rich text document in my rich text box the formatting is lost and all I get is a ton of font code 4)in my rich text box if I highlight any text my application crashes, in VB, before I compile it I get a warning saying that stream reader and stream writer are being used in code before they are declared, but looking at the code nearly the first thing typed is their declaration. 5)is it possible in vb express to make a program a bit like window blinds. I know its a lot but I think it's ...Show All
Morganificent Remote file directory.
I am building a little utility I can use to connect to my home computer and download files. We have a bunch of firewalls at work and I can only connect through certain ports. I just want to be able to start up my client at work and connect to my home computer. It would be like windows explorer but showing my home computer instead of work. Is this possible you can however you need to obtain the list of files from the home computer. The best bet and easiest would be to setup an FTP server using IIS on your home computer and you could access the files you want, just like in Windows Explorer. Your biggest problem will be finding your home PC on the Internet. You'd normally use a static IP address but they are very hard to come by ...Show All
Rajesh batchu After import not verything is under source control.
Due to the errors I got from the "Internal inconsistency problem" I recreated the project. As my peer coder is not able to built the project, I saw that VS left some files out and did not put them under source control, bringing the errors at my peer that some objects are not available and therefore bringing up many validation error because of constraint relations etc. This seems to be imrpovable :-) -Jens. --- http://www.slqserver2005.de --- Hi Jens Do you know if there was anything unusual about those files that did not get added to source control. Do you have a consistent repro steps we could follow in order to check if this is reproing internally for us to address. Any help would be ...Show All
webflier Open file problem ...!!!
hello everyone... here's a new problem.... please help i have made a open dialog for a picture to insert in the picture box,,, but how can i restrict it to only show the picture files in computer ----------OR------------ how can i restirct to only select the picture files like jpeg, bmp, gif, etc etc thanks,,,, Hi, use the OpenFileDialog's Filter property to restrict user to select only file with specific extensions: openFileDialog1.Filter = "Jpeg files (*.jpg)|*.jpg|Gif files (*.gif)|*.gif|Bmp files (*.bmp)|*.bmp"; Andrej set the filter for the open dialog: http://msdn2.microsoft.com/en-us/library/system.windows.forms.openfiledialog.aspx http://msdn2.microsoft.com/en-us/library/system.win ...Show All
F. Gsell Download contents of Entire Folder using API
We have a requirement to download the latest contents of entire folder from VSTF to local path using API. Is this possible Any links will be of great help Thanks This is very possible, see the following example from Buck Hodges :- http://blogs.msdn.com/buckh/archive/2006/03/15/552288.aspx Good luck, Martin. ...Show All
xRuntime How to Concatenate two context parameters
Greetings, I am having a hard time figuring out how to concatenate two context parameters so I can post as a single value. For example I have Context Parameter 1 Name = acctNumber Value = 789 and Context Parameter 2 Name = memberNumber Value = 02 The HTTP request accepts a single value in my txtAccountInfo parameter I want to pass (acctNumber+memberNumber) to the txtAccountInfo parameter as "78902" How do I concatenate Context Parameter 1 and 2 so I can pass to my txtAccountInfo request parameter Any ideas would be greatly appreciated. You actually need to put {{acctNumber}}{{memberNumber}} in as the querystring or form parameter value, not as a context parameter value. We ...Show All
RDSC Databind recordset to Datagrid
Hi, I am trying to assign value in my recordset queried from the DB into the Datagrid's datasource during runtime however, I am unable to do so. I tried with the following code was prompted with error. Dim cn As New ADODB.Connection Dim rs As New ADODB.Recordset cnn.Open(strCon) rs.Open("SELECT Name, Address FROM Employee ORDER BY Name", cn, ADODB.CursorTypeEnum.adOpenKeyset, ADODB.LockTypeEnum.adLockOptimistic) If Not rs.EOF Then DataGrid1.DataSource = rs End If Error message during runtime A first chance exception of type 'System.ArgumentException' occurred in System.Windows.Forms.dll Please help, thanks! I was a VB6.0 user and ...Show All
Can-Ann Building a server to client application
Hi, i work for a company called Submission Technology and i've been given the task of developing some software for a client/server messaging application. a great example of these would be Windows Messenger. Us, as the administration should be able to send messages to clients, the client receives a popup (similiar to how windows live messenger notifies you when you have received an email or message) the development environment is Visual Studios 2005 and C#.. my question is: what would be the best procedure to build this type of software , is there a messenger API does VStudios provide tools to develop something like this At the end of the day, whats the best way to go about building this type of application thanks in advance ...Show All
WinFormsUser13232 Problems making a LabelArray
Hello all, I'm having trouble making a LabelArray in VB 2005 Express Edition. First of all, I can't find an Index property when I look at the label properties. Secondly I can't use the same name on different labels. It for use in a loop: For i As Long = 1 To 4 Label(i).Text = TextBox1.Text Next i or something like that. I need a LabelArray, but how to make it in VB 2005 Express Don't modify Form.Designer.vb until you have a lot more experience. You may have seen advice to make variables global by adding them there in other posts but it is not necessary nor advisable. To make a variable global (Public) and visible to all classes in your application you can add it to a module, e.g. Public Module Module1 ...Show All
jim- graphic drawing speed issues - general help requested
I am using Graphics, and drawline and drawarc etc. to generate outlines derived from a text file containing x, y, z coordinates, and other unrelated information. I have to parse the file, to remove various comments, etc, but nonetheless, the drawing takes far longer then I would expect. For a file of about 2,500 coordinates it can take minutes, instead of a second or two. I suspect the apparent tardiness is due to the conversion required, from string, to double, to float etc, plus the calculations involved in getting the arc coordinates into the form that c# requires for example. My questions are concerned with improving the speed. For example, will it be quicker to use, say one large conversion method, compared to a number of 'calls' t ...Show All
Sreekk Creating reports in visual basic 2005 express edition
Hello, Is it Possible to create reports with visual basic 2005 express edition please tell frankly... you can create reports using this tool http://www.perpetuumsoft.com/Product.aspx lang=en&pid=21&tid=express Amit Vengurlekar, I don't think you can create reports in Visual Basic 2005 Express Edition. It seem that you can only create three kinds of applications in this edition: Windows Application, Console Application and Class Library. Please use the Visual Studio too accomplish your project. Moving to VB Express forum from VB IDE ...Show All
Puzzled Can't create Windows Forms Application
When I try to create a Windows Forms Application project the compiler shows me that error: http://img92.imageshack.us/img92/6324/errorxb3.jpg Please help me. I tried but there's a problem with the setup application...When I try to reinstall Visual C++ 2005 it shows me that there is a problem with installing .NET Framework 2.0.When I try to uninstall VC and finish the uninstallation the program is still not uninstaled....Any suggestions It looks like something is wrong in your installation. Please try re-installing the Express edition. Thanks, Ayman Shoukry VC++ Team ...Show All
