[RESOLVED] Save data/Text so I can use it later.

369 byte By Robert J at 2007-11-20 8:26:02
I think this is something simple but I cant think of it right now.I run the following code on a button click,Label25.Text = My.Computer.Clock.LocaltimeI would like to save the text [LocalTime] and repopulate the Label25.text on form load.Where or how do I save that text to a location for reuse later...

Need help with a GUI code

748 byte By dfc420 at 2007-11-20 8:26:35
Basically I want to make a very simple GUI, I have folders named a,b,c,d etc...And I want to make a Button for each letter, and when pressed I would like it to bring up the contents of that folder (just for reference these folders will be run from a cd) maybe in a box(listview possibly?) on the GUI...

[RESOLVED] Colored Cursor

739 byte By LJS at 2007-11-20 8:26:48
Hi All,I've created a Colored Cursor and want to use it into one of my applications.After creation, I've added the cursorfile into a map (named cursor) in the Binmap of my application. Then I've calded that map like this: Private Sub Button1_MouseHover(ByVal sender As Object, ByVal e...

Uploading Files

223 byte By nitinmcafromhim at 2007-11-20 8:27:25
I wnt to upload files using fileupload control <br/>When i upload only image files<br/>and view on my screen<br/>The images whose dimension are large get distorted<br/>how to calculate dimension of images Let me know plzzzz

Implementing search

871 byte By hbkelkar at 2007-11-20 8:27:29
hi,Im new to vb.net. I am writing an data driven application where i need to implement a search page.My database has 5 tables with 1 master table and 4 child tables all linked with a primary key field.like : Registration table contains RegId, naem, dob, Class.. etc..PrevStudy table contains RegI...

Find a code?

422 byte By vm13 at 2007-11-20 8:28:06
Hi,i am a new in .Netplease advice me for a code doing following:If I have a binary number like this 000101and I want to find in my txtbox the positions of "0", as (123_5_) format, or better, instead of numbers _ _ _ 1 _ 1 , how to write the code?And if that will be resolved how i could apply this...

BindingManager DataErr Event

1135 byte By hbkelkar at 2007-11-20 8:28:47
Hello guru'sI've created a Dataset in the designer to a single table which has got only two fieldsId. and Name where ID is the primary key field. I've used DataGridView by dragging it on to a form. As it has created all the required components,the entry becomes fairly simple.But When...

A better way VS2005 Access 2003

40 byte By JeI-Paradigm at 2007-11-20 8:28:49
See attachment below for the entire sub.

SMTP mail problem .NET 2005

767 byte By itayc1 at 2007-11-20 8:28:55
Hello,I have the following code for sending SMTP mail.My problem is that the mail is sent only when I close the application.Even if I send 3 times. It will send 3 copies when I close the application.Any Ideas?Private Sub SendSMTPMail() Dim SMTPMail as New System.Net.Mail.SmtpClient("emea.ibm....

updating your program using installers

863 byte By steve1_rm at 2007-11-20 8:29:08
Hello,[2005]I have a windows application and have used the windows installer to create the setup and deploy the project. The application has been completed, and the customer just wants add some small modules to the project, and change some other modules to make more for the business.However, the cus...

[RESOLVED] TreeView Control - Force Click on Node?

246 byte By tim8w at 2007-11-20 8:29:11
I have a need to 'Click' on a node from the code. In the old VB6 SSTree all I had to do was to call SSTree_NodeClick( Node ) and it behaved just as if I'd clicked on that node...<br/>How do I do this with the TreeView control?

What is PaintEventArgs

396 byte By CitizenOlek at 2007-11-20 8:29:42
How can I call a routine that is named like this:Public Sub XorExample(ByVal e As PaintEventArgs)End SubI am having trouble understanding this 'e As PaintEventArgs'Trying to call the above with: XorExample()returns the error 'Argument not specified for parameter e'What does th...

Creating Secure DLLs

329 byte By greg.boudreau at 2007-11-20 8:29:47
I've made an application that stores it's database shots in a seperate DLL. But it was brought to my attention that when deploying the app, that the DLL gets deployed as is and any user with VS can add reference to my dll and see my code.i was wondering what i have to do to avoid this.Than...

How to show a tab control on the left side of the form in vb.net 2003

522 byte By .netcodesearcher at 2007-11-20 8:30:32
Hi, My problem is that I want to create a tab control exactly behave like solution explorer and properties window which are showing on the right side of the form during the coding phase.I just tried that out with the normal tab control provided on .net ,even though i succeeded to show the tabs on th...

[RESOLVED] DataGridView - Gradient Background?

121 byte By tim8w at 2007-11-20 8:30:51
Is there a way to set the background of a DataGridView to a Gradient instead of a simple color? Maybe through a subclass?

Change Wallpaper Style

242 byte By Rich2189 at 2007-11-20 8:31:09
Is there a way of changing the wallpaper style? Tiled, Strech, center. <br/>I have tried setting the two registry entries wallpaper style and tileWallpaper in the Current_User/ControlPanel/Destop section but changing these has no effect.

client/server application multiple client request

923 byte By jhoanofarch at 2007-11-20 8:31:27
not sure if i can post this thread here but i would greatly appreciate a vb.net code sample. anyways here my problem.im hoping someone could explain to me idea behind the concept of client/server application. ex.Client sends several files to the listener application on the server one by one and wait...

using .NET Remoting in Excel

1774 byte By j3nonk at 2007-11-20 8:31:40
hi all..i have a problem ini my application. i want to call methods from .NET Remoting object from my Excel Application (VBA).the structur of my codes are://Located in server (using C#)classs ObjectEntryPoint : IObjectEntryPoint{ // Codes here..}//Located in server & clientInterface IObjectEntryP...

Unable to connect to access database

753 byte By dreamer60 at 2007-11-20 8:31:53
I have developed a database application in vb.net 2005/ms access. I have set a database password for the database and I am connecting to the database using OleDB(ADO.Net). I use the following connection string to connect to the database: dbCon = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;...

DataGridView columnstyle

515 byte By danasegarane at 2007-11-20 8:32:13
Dear All,How can I set the first column of the datagridgrid to Link Column through codingI am trying like thisfrmRecovery.DataGridView1.AutoGenerateColumns = True frmRecovery.DataGridView1.AllowUserToAddRows = False frmRecovery.DataGridView1.AllowUserToDeleteRow...

[RESOLVED] Icon for Custom Component?

166 byte By tim8w at 2007-11-20 8:32:42
I've created a custom component and it shows up correctly in the Toolbox. I was wondering, can I specify it's icon? Or am I stuck with the little gear icon?

Upgrading from VB6 to VB .NET 2005 Compile errors

2153 byte By karthix at 2007-11-20 8:32:44
Hi,I'm trying to compile a code which i have upgraded from VB6 to VB .NET using a tool but i'm still getting some errors Plzzz help...Error 1 'Line' is not a member of 'System.Windows.Forms.PictureBox'. C:\Documents and Settings\John\My Documents\Programming\XCG\XtremeC...

Cannot view form Design View

965 byte By brjames32 at 2007-11-20 8:32:48
I have upgraded a project from VB6 to Vb.net and it runs fine and complied fine but when I cam to edit the Design View of the form that plays the video, I get the following error:Warning 1 An error occurred while parsing EntityName. Line 2, position 71. The code for the form is:Public Class frmVideo...

Convert datatable to object VB 2005

1828 byte By slhempen at 2007-11-20 8:32:53
Hi all!I am fairly new at VB 2005 (and VB as a whole). I am developing a web service for a handheld device - a BlackBerry to be specific. The device software demands that requested data be returned as an object. How do I convert a datatable to an object?An example sent to me in C# had data from e...

[RESOLVED] Custom Component problem

317 byte By tim8w at 2007-11-20 8:33:06
Whenever I make a change to a Property in a Custom Control, the Automatic code generated in the designer adds the name of the control twice, i.e. MyCustomControl.MyCustomControl. This obviously results in an error causing me to have to edit the Designer code.. This is a pain. What could be causing t...

dataset object

368 byte By jhoanofarch at 2007-11-20 8:33:38
hi anyone has an idea how to create a dataset like structure?for exampleDataset--Tables--Rows---Columnsso i could use this :for each table (item) in dataset (object)next I want to create an object similar to the structure above. anyone has an idea? must better if you have a sample code to this :-)...

MSFlexGrid in vb.net

174 byte By cheery_poori at 2007-11-20 8:33:47
Hi,<br/>How can i make a flexgrid row as multiline?I used WordWrap as true, but it didn't work...Please help its urgent...<br/>Thanks in advance,<br/>Poornima.

Problem with EXecuteScalar()

919 byte By srijyothi at 2007-11-20 8:33:49
HI, I am using ExecuteScalar() function for getting count(*) from employees having the same last name.I am getting the lastname from textbox,then clicking the BUTTON btnEmployelist --populates a dropdown all employees with the same last name.SO I am writing the below code in BUTTON CLICK e...

ByRef problems.

1166 byte By chris_gay at 2007-11-20 8:34:24
Hi all,After some time away i'm getting back into VB, however i've discovered a strange problem i'm hoping someone could shed some light on.I have twofunctions1. Takes values ByVal, assigns the values to local variables and uses these in a call to (2)2. Takes values ByRef, and changes...

Excel VBA to .NET

1028 byte By delego at 2007-11-20 8:34:29
I have a VBA project that runs in Excel and communicates with IBM Personel Communications (PCOMM) and I would like to convert it over to .NetI don't need Excel for what I'm doing but still need the link to PCOMM.The VBA references the following:Visual Basic for applicationsMS Excel 11.0 Ob...

[RESOLVED] Graphics.DrawImage - Clipping?

172 byte By tim8w at 2007-11-20 8:34:31
I am using e.Graphics.DrawImage function from the DataGridView.CellPainting sub. It seems that it does not have a clip option. Is there a way to specify the Clip Rectangle?

How to run code with no trigger Event

248 byte By CitizenOlek at 2007-11-20 8:34:44
Hi all,<br/>Thanks so much for the good help!<br/>I'm making great progress!<br/>In many of my programs I often need to run some code with no trigger Event. Example - While the user is doing nothing - Run this code. How do I do this?

System Wide Hook

135 byte By joe1985 at 2007-11-20 8:34:56
Anyone know how to capture a maximize event if any occur? I am wanting to know what windows get maximized on my system. <br/>- Joe

PictureBox Transparent

407 byte By TCanuck42 at 2007-11-20 8:35:01
Hi. I have a picturebox control with an image that is a GIF. The image is not an animation, only a single frame. The background of the image is transparent, as i erased it in photo shop. What code can i use to make the rest of the picturebox transparent, so there isnt a box around my circular GIF ob...

how do i display the company name starting with letter a in textbox

1338 byte By sathyan_8294 at 2007-11-20 8:35:02
i am using dotnet 2003.i am doing my project in vb.net windows application.i have two form in my project.first form is datagrid .In second form label and textboxes are avilable to save the entering values in datagrid of first form through this 2nd form.my problem is,in 2nd form,if i enter letter a i...

Access GUI when receiving an event from a COM call

477 byte By Elrond at 2007-11-20 8:35:13
I have a VB dialog that connects to a COM server and registers to receive events from that server. Until there, it work fine and I receive the expected event.But in the function that handles the COM event, I cannot access the dialog or the application. They are just show as "empty" when I try to acc...

Multiple Forms

465 byte By 1druid1 at 2007-11-20 8:35:31
Hi AllI have two forms that are shown at the same time when my application starts. I have a timer on both forms. Form A has a timer that runs every 20 secondsForm B has a timer that runs every 100ms.When Form A timer runs its pauses the timer in Form B until the timer has finished doing its job. How...

Flex and Bison for .NET

170 byte By gregory82gr at 2007-11-20 8:35:38
I would like to ask you -if someone knows- if exist tools for .NET framework<br/>which are equivqlents to flex and bison in LInux for lexical analysis etc<br/>Thanks

please help!!!

103 byte By Anaconda82 at 2007-11-20 8:36:25
I'm a VB.net noob and if any 1 has any tips or tricks to help<br/>me get started. It would b great

Bifurcation Diagram

805 byte By CitizenOlek at 2007-11-20 8:36:28
I 've written some code that produces a Bifurcation Diagram. I'm using PictureBox1.Refresh() to Draw the screen after each Iteration, so that I can watch the Diagram as it develops. It is so painfully slow though.How can I speed this up?Ux = 0N = 730y = 0.05For i = -295 To N x =...

How to pass parameters to sub reports in vb.net

321 byte By Mustaf kazi at 2007-11-20 8:36:39
Hi everyone, I have created a report and in report footer section it contains one sub report. But I use stored procedure to this sub report and this stored procedure has parameters. Can anyone please tell me how to pass parameters to sub report using vb.netRegards,Mushtak...

Any help on Application Toolbar (AppBar)

171 byte By laxatcg1 at 2007-11-20 8:37:22
I want to incorporate 'Application ToolBar' in my project. Could someone help/guide me on this regard? I work on... VS2005 / VB / Windowsapp.<br/>Thank you!

Start menu related question

1220 byte By geeq at 2007-11-20 8:37:27
hello there,i wrote a Start menu replacement for xp in vb2005. It works fine, the only thing i need to know how to detect when a user clicks on xp's start button and instead of the built in menu show mine.i got this code from here and it finds me the start button: Private Declare Function Fi...

PictureBox1.Refresh() to Slow.

839 byte By CitizenOlek at 2007-11-20 8:37:32
I 've written some code that produces a Bifurcation Diagram on a PictureBox in a Windows Form. I'm using PictureBox1.Refresh() to Draw the screen after each Iteration, so that I can watch the Diagram as it develops. It is so painfully slow though.How can I speed this up?Ux = 0N = 730y = 0....

[RESOLVED] String functions with binary numbers

421 byte By vm13 at 2007-11-20 8:37:51
Hi,i am a new in .Netplease advice me for a code doing following:If I have a binary number like this 000101and I want to find in my txtbox the positions of "0", as (123_5_) format, or better, instead of numbers _ _ _ 1 _ 1 , how to write the code?And if that will be resolved how i could apply this c...

Create access database with ADO.net

228 byte By cybercool75 at 2007-11-20 8:38:23
Hello,<br/>I would like create an access database with ADO.net.<br/>I know it's possible with ADOX and ADODB connection, but i would like to know if it's possible with ADO.NET<br/>Thank's<br/>Cybercool75

Microsoft Layer for Unicode

811 byte By Nikola at 2007-11-20 8:38:27
Hello,I use Visual Basic Net 2003/Net Framework 1.1.I need in my win application implement Microsoft Layer for Unicode (MSLU)( http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mslu/winprog/microsoft_layer_for_unicode_on_windows_95_98_me_systems.asp)but I don't know how to impemen...

Anyone get 2003 to work with Vista?

1238 byte By TT-n at 2007-11-20 8:38:54
Has anyone been able to get VB.NET 2003 to install on Windows Vista?I finally did get it to work, and it seems to work okay at face value. I've read that a few web services are not available etc.Well, since I couldn't find anything on google about how to force it, here is how I did it.I...

[RESOLVED] Does VB2005 express or standard have a comment selection?

1780 byte By TT-n at 2007-11-20 8:39:00
I really need to make a change over to VB2005 with Vista, but I'm lost without my crutial functions.Does VB2005 express or other have a "comment selection"?Normally located by clicking Edit-Advanced-Comment selection.How about "collapse to definition"?Normally located by right clicking the edit...

show and deactivate a form

279 byte By geeq at 2007-11-20 8:39:02
Hello,<br/>I want my form to automatically disappear if it gets inactive. <br/>I show my form on a button click but it won't disappear until i don't click on it and click on somewhere else, eg on the desktop.<br/>what could be the problem?<br/>Thnx.