Aplication using ODBC

199 byte By Crash Override at 2007-11-20 10:06:09
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...

committing data on row delete for datagridview

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...

toolstriptextbox with label next to it? HOW!?

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...

ActiveX controls

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

How do I prompt the user if a textbox is enabled but empty?

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...

Run Project without installing (framework is present)

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...

making controls with events

93 byte By mccreatl at 2007-11-20 10:07:43
How would I programmatically generate 'n' textboxes each with its own event hander?

digital signature.

95 byte By hereiskishore at 2007-11-20 10:08:01
i am using dotnet 2003 with oracle as backend. how to add digital signature in web application.

[RESOLVED] errors: DisconnectedContext / ContextSwitchDeadlock

481 byte By beamer-dreamer at 2007-11-20 10:08:34
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...

[RESOLVED] Handling Excel application Using VB.Net

514 byte By Mustaf kazi at 2007-11-20 10:09:02
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...

how to display datagrid as mail body

118 byte By hereiskishore at 2007-11-20 10:09:15
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?

Dot Net Framework on win 98

327 byte By dreamer60 at 2007-11-20 10:10:07
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...

can i send aspx page as mail body?

140 byte By hereiskishore at 2007-11-20 10:10:25
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.

Power Users Issue

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...

datagridview combobox column (dynamically loading values)

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,...

ADO Help

1547 byte By MeatLander at 2007-11-20 10:11:05
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...

selectedIndexChanged event for datagridview comboboxes not working

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...

Open website for read

592 byte By MeatLander at 2007-11-20 10:11:32
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...

Checking Windows Registry with Vb.Net 2008 Express (Beta 2)

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...

I want to create a simple form using Visual Web Developer Express Edition...

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!

Excel VBA

425 byte By computerman29651 at 2007-11-20 10:12:31
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...

Collection Editor

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...

translate an C# indexer to VB.Net

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...

Hyperlink in text string

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:"...

using inherited combobox control on datagridview

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...

run a screensaver remotely

452 byte By dng102306 at 2007-11-20 10:13:03
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...

VB2005 OutofMemoryException!Memory leak?

6378 byte By Victor Zhang at 2007-11-20 10:13:09
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")...

ReadLine TCP IP Data

209 byte By codeexpert123 at 2007-11-20 10:14:00
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?

Suggestion on this project please!

607 byte By brjames32 at 2007-11-20 10:14:17
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...

Saving a form to a text file/ loading the text file

335 byte By Darrenhbk4 at 2007-11-20 10:14:55
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...

Login Issue

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...

Handling incoming call

226 byte By synerecis at 2007-11-20 10:15:33
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

How to speed up some code

1240 byte By Scott.Macmaster at 2007-11-20 10:15:58
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...

Transparent gif and toolstrip

454 byte By max_maggot at 2007-11-20 10:16:04
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...

getting value for hosted control inside datagridview cell

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...

show other datagridview for each row in datagridview

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.

Registry of students

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...

How to create a dataSet.xsd

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...

Connection to Sybase Sql

499 byte By rajesh_vbalan at 2007-11-20 10:19:03
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()...

Restart or Shutdown windows class

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...

[RESOLVED] does vb.net provide the provision for graphic icons on menu item ?

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...

How drag text and icon?

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

Retriving data between selected dates

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...

Advice on converting an exe to a web-program

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...

VB.Net As Any equivalent

298 byte By Dark Potato at 2007-11-20 10:21:24
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?

Displaying and updating spreadsheet via DataGridView

266 byte By brjames32 at 2007-11-20 10:22:05
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 :)

Problem saving a word document using DSOFramer ActiveX control

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...

Use Find and Copy Multiple Cells

3537 byte By computerman29651 at 2007-11-20 10:22:17
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...

menustrips and MDI applications

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...

Position of controls and resizing

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...