Hello!I am a complete noob. I require a program to calculate a code based on variables entered by a common user. I have VB.Net 2003, and can code fine with C++. I need to know how to build, run, and export my code to some sort of user interface (not requiring VB.Net to run the Exe). How is this...
653 byte By
bjswift at 2007-11-20 9:34:36
I have been using the design time to throw a data set onto a form with datagridView in order to let the users query and manipulate data. However, the default set up for this is to have the save icon on the binding navigator call the update function on the table adapter. How do I implement this sim...
588 byte By
tim8w at 2007-11-20 9:36:28
Since I haven't had much luck solving this problem myself, I'd thought I'd throw out what I'm trying to solve and see if someone has another way of doing what I want.I have a CustomCalendar control. It contains 31 RichTextBoxes (one for each day of the month) where data can be en...
251 byte By
Mbalie at 2007-11-20 9:37:38
Can you please help me, I need to connect a word document to my VB.Net system. When I click on a button, a word document that has been saved should appear. I've tried a few codes but they don't work, can you also include wat I need to import
Can NGEN.exe be used at runtime in a windows application?<br/>For example, a user clicks a button on a windows form, which then calls a bat file containing the NGEN.exe command(s). The batch file would then create a native image of the appropriate DLL code.<br/>Thanks!
1549 byte By
MrPeanut at 2007-11-20 9:38:05
Hello!I am having a bit of a problem. I have a table on our server that handles some customer data. The data field invamt will store the dollar amount for our customer data.The field is defined as NUMBER(15,2).This is the code I am using to pass in the value to the stored procedure.Public Function...
378 byte By
satanorz at 2007-11-20 9:38:08
Hi, i'm working with sql express 2005 using transactions under vb2005.The problem is, when i execute the program within visual studio, the sql code is too slow ( 5 - 10 seconds to update a single row of a little table , or to login)But when i generate the .exe and run it manually, all works fas...
I've created a program that uploads my photos to a website the only problem is i can't seem to figure out how to do it with out specified path. I want the user of the program to be able to select there photo and then upload it, with out having to use a specified path, so if you guys have a...
656 byte By
bjswift at 2007-11-20 9:40:31
I have a data grid, and am trying to emulate how sql server management studio allows you to edit and add rows to tables, tabbing and at row leave update the data...However when I try to update the table, and do not check the check box, I get a noNullAllowedException. Shouldn't this un-checked...
282 byte By
jagguy at 2007-11-20 9:40:46
I want to move a button with keypress left/right arrow but this fails?<br/> If e.KeyCode = Keys.Left Then<br/> Button2.Left -= 5<br/> ElseIf e.KeyCode = Keys.Right Then<br/> Button2.Left += 5<br/> End If<br/>where is the code tag here?
593 byte By
alougher at 2007-11-20 9:41:03
I need the ability to call this routine asynchronously: Public Sub send_message(ByVal sUrl) Dim web As New System.Net.WebClient Dim d() As Byte Dim res() As Byte web.Headers.Add("Content-Type", "application/x-www-form-urlencoded") d = System.Text.Encoding.ASCII....
317 byte By
jagguy at 2007-11-20 9:41:16
I want to move a small ball pic up and down the screen with a timer. When it hits the edges of a form I want to rebound in opposite direction and keep doing this.In VB6 yu had to check the direction and just and + or- on the lef and top value of the object.In VB.net is there any functions to simplif...
563 byte By
nbz24 at 2007-11-20 9:41:19
Hi everyone,I'm designing a report which currently includes two tables: dataset1_datatable2 & dataset1_datatable4.I need to make a very simple comparison between two fields from these two tables.My goal is to change the background color of these fields if their value is identical. I know how to...
178 byte By
jagguy at 2007-11-20 9:41:20
To create a control at runtime eg a button, what do i do ?<br/>I didn't want to creat all controls during design and sometimes prefer to do this when the program is running.
905 byte By
jagguy at 2007-11-20 9:41:23
I want to have a race between 2 picboxs using rnd.Now it works but fails to stop when we have a winner as I get an infinite loop with msgbox. Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick pb1.Left += Int(Rnd() * 20) pb2.Left +...
1338 byte By
btkaruna at 2007-11-20 9:42:09
hi,I need to create a dynamic button within richtextbox and this needs to be visible only when user scrolls till end.Again if user scroll up in richtextbox this button should be visible false.i am able to create button dynamically thorugh following codebut this button is visible even if user scrolls...
396 byte By
satanorz at 2007-11-20 9:42:14
Hi, i am in need of edit/add/delete records into a grid, it works fine with one to one or one to many.. but how i can do it for a many to many relation?For example, if we have an Courses, Students and Course_Student tables.. i want to show a grid with Course name and all students table fields, and...
356 byte By
bjswift at 2007-11-20 9:42:44
I would like to have the comboboxes that I have in the datagridview on one of my applications, to 'drop down' or 'expand' when the user clicks into that cell, or tabs into the cell. How do I do that?I can not figure out how to tell the type of cell the uesr is in, in order to ev...
249 byte By
tim8w at 2007-11-20 9:42:59
Is there a way to raise an event from a custom control that a user of the control can trigger on? Basically when a date changes in my custom control, I want to fire off an Event like DateChanged so the user can do something about it if he chooses...
759 byte By
irishman at 2007-11-20 9:43:10
I want to take a value that is a string and a value that is a double and concatenate them into a new string. To make it more complicated, I then want that concatenated string to become the name of a new variable.So if i have:public word as stringpublic wordvalue as doublepublic finalstring as strin...
I'm using the XmlWriter class and I would like to add a blank line to make my xml file more readable when it is opened in a text editor, but I can't seem to figure out how to do it. Indent formatting is set to true. Thanks!
2081 byte By
mitas126 at 2007-11-20 9:43:16
Okay, I'm doing a program that's laying out an image grid from existing or non-existing images in one of the subfolders of the program. Another portion of the program needs to alter or replace the same image files later on as the program moves forward. However, after loading the image at t...
520 byte By
irishman at 2007-11-20 9:43:24
I want to put a button on my form that, when clicked, empties all of the input that has been saved to the variables identified in the module. My program has the user enter data into textboxes, which is then analyzed by the program with results displayed on a second form. Right now, I have to exit...
161 byte By
shers at 2007-11-20 9:43:53
Hi,<br/>I am a newbie to VB.NET. I would like to display data from a SQL database table to a listbox. How do I accomplish this? Please help.<br/>Thanks
238 byte By
jagguy at 2007-11-20 9:44:17
Hi,<br/>I want to move an object around the screen with a timer in a circle pattern(automatically). Now I can move an object from side to side and check to see if I hit the form boundary.<br/>The forumla of a circle is x*x+y*y=1
1723 byte By
Ismailc at 2007-11-20 9:44:24
Hi, I need help please, I'm a junior to coding in SSIS and VB.Net. I'm struggling to rewrite my SQL 2000 ActiveX task to SQL 2005 Script Task. The problem is that the language 2000 ActiveX task is VB script is and in 2005 VB.Net is used. I don't really no either of them still awaiting...
347 byte By
satanorz at 2007-11-20 9:44:43
Hi all, using vb2005 and sql 2005 expressI have a database with relations created.When i import the tables using the wizard all tables & relations are filled on the dataset but.. on another project i need to load the dataset by code.. any way to fill all the relations used on the database without re...
1936 byte By
irishman at 2007-11-20 9:44:56
I have a button that, when pressed, plugs a bunch of data into excel. Depending on what the user enters, there are some variables, I may or may not want to plug into excel. However, when I try to work with if/then statements in the code below, it doesn't work. Anyone have any thoughts on how...
hi everboday,.<br/> I want to pass a value first page to second page in windows application.<br/>and how it can possible Plz help me.
423 byte By
Ismailc at 2007-11-20 9:45:34
Hi, I'm rewrtig my vb script to VB.net script in my previous post I'm getting along okay but now unable to add new reference for microsoft excel References add the MS excel object library not found Dim ExcelObject as Excel.Worksheet ExcelObject = CStr(Create...
I am geeting error when i am using flexgrid 'Class is Not register' after completion of setup.<br/>Please help me.
I made a program to show picture when you press the a key. exp you press the A button on the keyboard and picture of the letter A will appears. My quetion is how can i get it to play a sound file with it. exp when you press the A button it will say "The letter A". Im using both 2003 and 2005 version...
Hi,I'm having trouble converting between date formats.I have a string variable containing 05/07/2007 that I want to be formatted as 07/05/2007In VB6 I would just doDim sDate As StringsDate = "05/07/2007"Debug.Print Format$(sDate, "mm/dd/yyyy")I have tried any numbers of variations on the above...
240 byte By
bhappy at 2007-11-20 9:46:25
Hi,<br/> <br/>Iam getting error when exporting asp.net webpage contents into pdf file.If u have any idea plz revert me.The error is "The page couldn't open because the file was not supported/it was damaged.<br/>Thanks,<br/>Aswath.
202 byte By
irishman at 2007-11-20 9:46:53
I have figured out how to use the tooltip. However, it always disappears after a few seconds. Is there a way to keep the tip up there until the user moves the mouse to a different section of the form.
455 byte By
laxatcg1 at 2007-11-20 9:47:34
I hosted my application on to web server and when I run my application I get the following error:************************************************************Request for the permission of type 'System.Net.SocketPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089...
477 byte By
shers at 2007-11-20 9:47:45
Hi,I'm creating an app in VB 2005 Express. I have a DataGridView control which has 5 columns, on the form that is being loaded initially. One column of the DataGridView is populated with data from a table. The other 5 columns are left blank for the user to enter data. Of these, the second and t...
Hi all,<br/>How can we detect different settings(Properties) of the browser. Ex. AciveXEnabled, Allow META REFRESH Etc.<br/>Is there any Technique or tools available to detect all the properties of the Browser.<br/>Thanks<br/>Arup
1238 byte By
Ravenik at 2007-11-20 9:48:36
I am looking for procedure which brings some other application to front (having myProcess As Process - for that "other" application / or name of process/application) For example in "startForm" class I do something like this: myProcess.StartInfo.FileName = "notepad" (...) myProcess.StartAnd...
351 byte By
laxatcg1 at 2007-11-20 9:48:37
Hi all,I have uploaded few dlls on to my web server but when I tried to run the application I get the error. It seems like my website is running under partial/medium trust ASP.NET environment which cannot be changed. NOW the only option is to grant my DLLs more trust (Full Trust). How do I do that?...
288 byte By
laxatcg1 at 2007-11-20 9:48:40
Hi all,<br/>I work on Visual Studio 2005. Now suddenly when I work on web project, I couldn't able to view 'Design View' at all. I could only view 'Source View'. Whys that? How do I solve this? I really appreciate any help on this regard.<br/>Thank you!
275 byte By
irishman at 2007-11-20 9:49:01
I'm not sure what I did. I added a scroll bar and put autoscroll="true." After a few successful tries, the form started loaded with the bottom of the page showing at load time as opposed to starting out up top. Anyone have any thoughts on what might be causing this?
1041 byte By
Rapante at 2007-11-20 9:49:52
Hallo,I have a little programm, where I have a problem with the button.mouseleave event. I use a splashscreen, where I have the following code implemented:Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Cursor.Position = New Point(0,...
Hi all,I have created a VB .Net application that uses an Activex control. I publish it so that it works as a Clickonce installation. I have been doing this without any problems using vb .net express under windows XP for the past 3 months. I am now testing the product on a Windows Vista machine and I...
Dear all,<br/> How can I users to Administrative group of my system<br/>Thanks in advance<br/>Dana
Hi.I hope somebody could help me with this...Here is my question:Is there a way to create hotspots on an image of a windows application using only the coordinates (drawing a polygon)? Using visualbasic.net of course.I try using a component (imagemap) on visualbasic.net but i think it only works righ...
Hello.I have recently been working on a little game I started with a few of my colleagues and we have run into an issue. As you may all know, just about every game has status markers at the top of the screen in either corners that tell the player their gold amount, remaining health, bullets left in...
Hi all! :wave: I've done some searching and did not find a similar problem so I guess I'll have to post my own!ok, here's what I've got:I create a report document in VB.NET and it prints just peachy keen to a printer and the print preview works wonderful. However, when I print...
Hi,<br/>I have created a exe program but no idea on how passing the parameter from the exe file to the current program that call it.Does anyone has idea on this?
364 byte By
jagguy at 2007-11-20 9:52:02
If I want to detect a collision between 2 objects in vb.net is there an easy way?To keep it simple say i have 2 pictureboxes that are squares.It is a messy if condition which I forget off top of my head.What about 2 circles?Is it better to have 2 timers to move 2 objects and another for collisions...