Hi.<br/>I looking for a tutorial to learn how to create in VB 2005 a connection to a BD using ODBC.<br/>Or if anybody have a simple program who can share it to lear how to do this.<br/>THANKS...
431 byte By
bjswift at 2007-11-20 10:06:57
I have a bound datagridview, and set the rowValidated event to call the .update command for the tableAdapter. This works great, however, when I delete a row by selecting the row and pressing delete, it does not call the rowValidated event obviously, so it does not commit, until and IF the user chan...
513 byte By
bjswift at 2007-11-20 10:07:09
I would like to have a toolstriptextbox, with a label to the left of it, so that I can give the text box a definintion, such as:Search For: [TEXT AREA]Do I have to create a custom control for this, and throw on a label and a text box? I have no idea how to get this to work, and there doesn't s...
262 byte By
geearr at 2007-11-20 10:07:13
Hi,<br/>Are there ActiveX controls equivalent to - wshAPIToolKitObject, wshLtwtNonModalDialog, wshWinView that I can use in Vista ?<br/>If not, in which other DLLs or OCXs can I find the APIs that are a part of the above mentioned controls ?<br/>Thanks
565 byte By
irishman at 2007-11-20 10:07:33
I'm using VB.NET 2003. The form allows the user to activate various textboxes by checking a checkbox if they want to enter text in the textbox. When the user presses "Submit," I want a Msgbox to appear warning users if they have enabled a textbox but haven't entered any text. However, t...
532 byte By
gfu at 2007-11-20 10:07:37
Hi there! Is there anybody more experienced than who can answer my question? Here it is : i want to run a project i created with vb 2005, from a flash disk without having to install the project in the computer, resulting in being able to run it on any computer i want (and have a usb port(!) and the...
93 byte By
mccreatl at 2007-11-20 10:07:43
How would I programmatically generate 'n' textboxes each with its own event hander?
i am using dotnet 2003 with oracle as backend. how to add digital signature in web application.
Hi all,during debugging I keep on getting the mentioned error messages. Does anybody have any idea what the cause might be?My application does NOT use multithreading. What it does is mainly read and write data to an ACCESS database and do some calculations inbetween. There is some output to text box...
Hi everyone, I am writing a code to save the data in Excel file. I have done most of the things, but now I want to merge cells and color that cell.(BOth color background and font color)For that I use XlRange.cell.font.color = 255If I change that const 255 to any value no change occurs display br...
i am using asp.net 2003 with oracle 10g as backend. i want to send datagrid in mail. can any one suggest me how to do?
I am trying to install dotnet framework 2.0 (dotnetfx.exe) on a Win 98 Sec edition PC having 128 MB of RAM.But it takes unusually longer than it takes on Win 2000/XP and it will be tedious from a user's point of view.But its working well.Why is it so? Is there any way we can speed up the instal...
hi i am using dot net 2003 with oracle 10g as backend. my requirement is i need to send aspx page as mail body. please suggest me how to do.
567 byte By
satish2 at 2007-11-20 10:10:28
Hi all,My application does not work on some client machines.It gives some Access permission error on opening.I resolved this error at some sites by giving the power users rights to that user,but at some sites,even after giving power users rights,my app does not work.When I gave admin rights to that...
420 byte By
bjswift at 2007-11-20 10:10:50
I need to display a datagridview with one of the columns being a combobox. I have done it before, but this time each row's combobox column needs to have their own values based on the results from a stored procedure. I am unsure how to set up the grid to run the stored procedure for each row,...
I'm new to ADO.Net... I'm use to VB6's version of ADO. I think I'm getting closer to understanding it but for some reason I can't get this peice of code to work. Any ideas why?Dim Connection As SqlClient.SqlConnection ' Connection to the database Dim Comman...
1822 byte By
bjswift at 2007-11-20 10:11:17
I am using the following code to add an event handler for a dataGridView's combobox. It works, but only as expected the first time, by throwing the msgBox("Hi"). However, if I click another comboBox it fires 3 or 4 more times, throwing 3-4 msgBox("Hi") dialogs out, before the drop down box wi...
I want to open up a webpage and read it's html code in order to search for a specific Tag (like <b> for example). How can I open up a webpage and read it's code line by line?I know it's possible because i can open Notepad, and say File->Open and then enter the URL of a webpag...
858 byte By
Nebulus at 2007-11-20 10:11:39
This uses the 3.0 .net frameworkI'm curious how I'd go about checking the windows registry for a key that already exists. If someone could provide me with some pseudo code, that'd be much appreciated.I'm using the "Imports Microsoft.Win32" call to access the registry (saves a bit...
143 byte By
laxatcg1 at 2007-11-20 10:11:43
I want to create a simple form (a data driven page) where-in I need to store my inputs on to my SQL DB. Please help me out.<br/>Thank you!
I am trying to find out if it is possible to create a macro in an excel workbook that will open another workbook saved on the computer, perform a find, copy the data, and paste it in the opened/active workbook.I have been banging my head on the wall for several days trying to figure this out, and I...
764 byte By
Kountree at 2007-11-20 10:12:35
To whomever it may concern: I have implemented an email control which shall be used for developers to drag onto their form. At design time, I have implemented customized properties and also created a class to utilize Microsoft Collection Editor. (This is used to populate the file attachments...
308 byte By
Kountree at 2007-11-20 10:12:36
Does any know how to translate the following code from an (C#) indexer to VB.Net? public FileAttachment this[int i] { get { return (FileAttachment)this.InnerList[i]; } set { this.InnerList[i] = value; } }thanks...
2029 byte By
lbargers at 2007-11-20 10:12:48
Hello, Is there a way to include a hyperlink inside a string? I am using SMTP to send a verification email, and I would like to inlcude a hyperlink to the website login, as well as a link to the admin email. I was able to get this working, but the entire path show up for the hyperlink, and "mailto:"...
577 byte By
bjswift at 2007-11-20 10:13:01
I have struggled to find a solution for a multi column combobox control, and finally found a solution, however how can I mold this inherited class into a datagridviewcolumn class, so I can use it on the datagridview control?I want to be able to say:dim multiColumnControl as multiColumnCombodatagridV...
hi gurus!can you please help me find resources or source code will do,where i can run a screensaver remotely using vb.net 2005? what i would like to do is to execute a screensaver on a certain remote pc using my pc as a server? so im thinking i may need to know how to determine the computers connec...
Hi everyone,I got an system.OutOfMemoryException when I run this code created in VB2005.Is this caused by memory leak? Please help me. Public Sub AddLoginScript() Try Dim LoginScript As StreamWriter = File.CreateText("d:\Logfiles\StudentAccountCreation\LoginScript.txt")...
Hello, I want you to readline on a tcpip data stream but the data is terminated with a 0 1, not a /n, is there a way to change the behaviour of the readline function or must I write my own binary based reader?
I would be extremely grateul if I could get some opinions on the best way to tackle this little problem:I am creating an app the will read info from either a spreadsheet or Access Database into a Datagrid, allow users to update the info and then save it back to the spreadsheet/database. The thing is...
hi everyone, ive just been giving some coursework to do over the summer and im having some trouble with one part as we wernt taught any off it. Does any one know how to save a form as a text file via a button on the bottom of the page, also how to find the file again via a button once it has been sa...
779 byte By
satish2 at 2007-11-20 10:15:05
hi all,can anyone pls tell me how to restart application from the splash screen once user clicks on logout button.My prob is as follows:iam using mdiparent form(vb.net2003) which is having one of the menuitem as Logout,when user clicks on that,it asks for confirmation for same and after positive co...
Hi<br/>I am trying to Devloping Mobile Application in .Net Technology<br/>I want to detect incoming call in Mobile using .net Technology<br/>How can I do it ?<br/>Do you have any idea?<br/>Please help me<br/>Regards<br/>Nimesh
I have a webpage that creates an excel report. It all works fine but it is slow. Well, just one section is slow. The rest is fine. The slow code isexcelSheet.PageSetup.Orientation = XlPageOrientation.xlLandscapeexcelSheet.PageSetup.HeaderMargin = excel.InchesToPoints(0)excelSheet.PageSetup.Botto...
Hi there,I have a toolstrip that contains multiple toolstripbuttons in my vb.net program. These buttons display transparent gifs. I allow the user to select these buttons by clicking on them and then I save the images to file. The problem I am having is that the transparent part of the image is blac...
820 byte By
bjswift at 2007-11-20 10:18:18
I followed an example to add a custom control (multicolumnCombobox) to my datagridview. Here is the code I used...Dim x As IntegerFor x = 0 To 5Dim newRow As New DataGridViewRowgridTest.Rows.Add(newRow)Dim mccTest As New multiColumnComboBoxMe.gridTest.Controls.Add(mccTest)mccTest.Location = Me.grid...
278 byte By
chuckgtz at 2007-11-20 10:18:23
Hi <br/>I need to show a different datagridview for each row in datagridview1. <br/>When a user clicks a row, the datagridview1 expands a different datagridview with new information.<br/>Is it possible to show different datagridview for each row of datagridview1? <br/>Please.
297 byte By
derok at 2007-11-20 10:18:32
Hi,<br/>Lets say I have a registry of students in a console application.<br/>This registry has 10 students, each one with:<br/>id, sex, age.<br/>i need to print in console the percentage % of male students with age 25<br/>what kind of solution can i use to solve this?<br/>thanks...
2826 byte By
gibea00 at 2007-11-20 10:18:34
I'm trying to create a crystal report with vb .net 2005.I know hw to create a normal dataset et to bind it to my report.Here is what i'm doing to create my dataset: strSql = "SELECT SUM(SO.SalesProjUSD) AS salesProjUsd, " + _ " SUM(SO.SalesProjA...
Hai Everybody How can u connect VB.Net with sybase sql 2.0 , with Oledb provider. This is my code con.ConnectionString = "Provider=Sybase.ASEOLEDBProvider.2;Srvr=MySERVER;Data Source=MyDataBase:5000;User Id=sa;Password=ran" oledbcmd.Connection = con con.Open()...
19198 byte By
TT-n at 2007-11-20 10:19:23
I was going make a small article for this, because this class eliminates that annoyance of Vista's shutdown button.If you are using the classic style start menu, then you are five clicks away from a restart, and know exactly how I feel.If not, then you are still three clicks away from a restart...
396 byte By
kvwarun at 2007-11-20 10:19:29
Hi all, there have any in-built option to add graphic icon to menu in vb .net ? or we have to go for API programming to add such icon. vb .net supporting any editable grid ? and any option like print preview i'm new in vb .net, just few days before i started programming in .netthanks in...
117 byte By
justize at 2007-11-20 10:20:26
I like to do dragdrop from textbox with an icon or an image while<br/>moving it. (In VB Net)<br/>thanks. Justize
549 byte By
g1m0v0n5 at 2007-11-20 10:20:38
Hello Sir,I am working in vb.net 2005 and ms access 2003.I want to display the employee names of a emp table who are joined in between the selected dates.I am using DateTimePicker controls for selecting date.I am using the General format in datetime datatype Ms access database.The following query I...
728 byte By
irishman at 2007-11-20 10:20:58
I'm a beginner along the lines of this issue. I have created a fairly complex program using Visual Basic.NET 2003. It deployed it as an executable file to be used on the hard drive. I'm thinking about converting it into an SAAS. Anyone have anything they can point me to that will give...
Hello everyone, I have been using .Net 2003 again and when converting one of my old projects I came across many errors that have to do with all of my 'As Any' lines in modules and my main form. So my question is, how and what is the equivalent to an As Any statement in Visual Basic .Net?
Hi<br/>Could somebody please give me some example code for displaying and updating a spreadsheet via DataGridView?<br/>Have searched the net for this but not found much of any help. Any example code would be very appreciated.<br/>Thanks in advance :)
1311 byte By
Chirantan at 2007-11-20 10:22:08
Hi every one,I am developing a windows application which needs word and visio application to be embedded on to a form. I am using DSOFramer Active-X control to do the above. My application reads data from the database (a BLOB Field - that contains the word or visio document) and creates a temporary...
I am looking for a way to perform a find, and then copy multiple cells. The code below is what I have this far:'The code under this section opens the first file and copies the Surrogate Compound components Dim basebook As Workbook Dim mybook As Workbook Dim mybook2 As Workbook Dim sourceRange A...
432 byte By
bjswift at 2007-11-20 10:22:21
I have a MDI application, where the user loads up multiple forms within the parent. Each form can have their own menu strip items. I notice, that when a form loads, it puts its menu strip items in the parent window's menu strip bar, and leaves a blank/empty menu strip on the child form.How ca...
922 byte By
bjswift at 2007-11-20 10:22:24
I have a form with two datagridviews, and each has a navigation strip.The grids flow from top to bottom, like so:Grid1NavPane1Grid2NavPane2Grid1 is set up to be anchored: top, left, right.Grid2 is set up to be anchored: top, bottom, left, rightEach navigation pane's top property gets adjusted o...