all groups > vb.net > may 2005 > threads for monday may 9
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
newbie question
Posted by Troy at 5/9/2005 11:08:23 PM
Hello,
I'm new to vb.net so bear with me. I have a car class in my project and need
to declare an array of the car object. I've tried to instantiate using the
following but I cant seem to enumerate any methods or properties in my
class:
dim cars() as Car = new cars(99) {}
any ideas?
... more >>
Activate a window to forground using API
Posted by D Witherspoon at 5/9/2005 4:51:25 PM
I developed this module, examples on the internet seem to be much longer..
Can someone explain to me why my solution doesn't work?
Module modAPI
Declare Function SetForegroundWindow Lib "user32" (ByVal hwnd As Long) As
Long
Public Sub ActivateAppWindow()
SetForegroundWindow(f... more >>
Multiple Controls in a single Sub?
Posted by Justin at 5/9/2005 4:43:12 PM
Take this example:
Private Sub nPnlProfile_MouseHovers(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles comboProfileName.MouseHover,
btnDelete.MouseHover, btneditFolderPath.MouseHover,
comboThumbQuality.MouseHover, comboThumbSize.MouseHover,
btnAddFile.MouseHover, ListB... more >>
Messagebox (NewLine)
Posted by Thomas Beyerlein at 5/9/2005 4:43:04 PM
Is there a way to put some of the text typed into a messagebox string on
a new line? This is for user readability only.
Thanks
Tom
*** Sent via Developersdex http://www.developersdex.com ***... more >>
CPU Temperature
Posted by anthony at 5/9/2005 1:25:12 PM
One the computer I am programmig I could see the CPU temperature in the
BIOS, is there a system DLL in VB.NET that I can call to display the
temperature in my software?
Thanks!
... more >>
COM WSH - About the IWshShortcut method (SOS!)
Posted by SuperDrone at 5/9/2005 12:17:23 PM
It appears I can only create a shortcut for files that exist?
Are the shortcuts actually registry entries?
I am tasked with programmatically creating shortcuts for files that will
exist on another server. The .lnk files will be accessed from a share. If
they are registry entries than I gue... more >>
Design Time Label
Posted by pmclinn at 5/9/2005 12:10:10 PM
I'm looking to add a lable control to my windows form when a button is
pressed. The following code does not seem to render the button. How
do I correct this issue?
Dim newLabel As New Label
newLabel.Size = New System.Drawing.Size(272, 16)
newLabel.Name = "NewLabels... more >>
Insert a column in a datatable?
Posted by johnb41 at 5/9/2005 12:03:36 PM
You can ADD a column to a datatable easily: datatable.Columns.Add()
I would like to INSERT a column instead of adding it to the end. Is
this possible?
Thanks!
John
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Find/Replace in text file?
Posted by Mark at 5/9/2005 11:12:09 AM
Hello,
Can anyone help me on how to find and replace text within a .txt file using
vb.net?
Any help would be greatly appreciated!
Thanks in advance.... more >>
DATATable and INNERJOIN
Posted by Prasun at 5/9/2005 10:28:09 AM
Hello:
Is it possible to create a datatable that is an Inner Join of two existing
datatables in a Dataset. If so, how do you do so?
Thank You
Prasun
... more >>
How to find last day of next week?
Posted by Adam at 5/9/2005 10:02:12 AM
Hello,
How to find a last day of the next week (or in next two weeks) using VB.NET?
for example:
01-Feb-2005 = 13-Feb-2005
or
09-May-2005 = 22-May-2005
Any help is greatly appreciated,
Adam
... more >>
Dispose() called on Forms
Posted by simon_w3 NO[at]SPAM ntlworld.com at 5/9/2005 8:31:34 AM
Hi All,
I've recently attempted to upgrade a significantly large app to .net.
Having removed several hundred errors along the way I have now hit a
problem that I'm struggling to find a way around. The problem is this:
The app starts by performing a host of load up sequences (opening
... more >>
vb.net sample code for a Windows application
Posted by Roy at 5/9/2005 7:30:02 AM
Hi all,
I know there are asp.net samples code such as Duwamish or Fitch Mather. Is
there any sample code for Windows application.
Thanks
Roy ... more >>
Looking for a 3rd party library/component for multimedia
Posted by johannblake NO[at]SPAM yahoo.com at 5/9/2005 2:12:51 AM
Does anyone know of a 3rd party product that can be used to create
multimedia effects programmatically? I am looking for a component such
as a library or controls. Essentially I need an advanced component that
allows me to create dazzling visual and audio effects in my
applications. I don't wa... more >>
Pb with Shared Addin
Posted by Franck at 5/9/2005 2:09:04 AM
Hi, my class object inherited from IDTExtensibility2 is no longer
running in my Shared Addin!
I got a breakpoint in the OnConnection event but it's not fired at all
!
Got another class (AutoDual one) with several functions which works
great !
I'm tryin to add a sample function which disp... more >>
Start program at system boot
Posted by Shane at 5/9/2005 12:20:02 AM
I've created a wallpaper changer that I want to start up on system
boot.
I know that I can put a shortcut for my app in the startup folder. How
can I get the install program for my app to add a shortcut for all
users.
If I do have a shortcut in the startup folder, I can see the current
wal... more >>
Launch winform in new thread - form wont stay open - just dissapears
Posted by D Witherspoon at 5/9/2005 12:00:00 AM
My application takes 5 or 6 seconds to load because of the time required to
communicate with web services and load from the database. In the meantime
I'd like to show a splash screen in a seperate thread.
I am trying the following code and it shows the form for a split second and
then diss... more >>
Application.Run(frmMain)
Posted by D Witherspoon at 5/9/2005 12:00:00 AM
Whats the purpose of
Application.Run(frmMain) in the Sub Main method.
Why not just...
Dim fMain as New frmMain
frmMain.Show()
???
... more >>
Visual Studio 2005
Posted by Mike at 5/9/2005 12:00:00 AM
I just recently returned to programming in VB.NET. I have come back to the
programming side of things due to an internal business need. I have a
library of books for VB that is not huge but it probably larger than the
average Joe's. I had previously coded a little in VB 5.0, skipped version... more >>
carry values across forms
Posted by gordon at 5/9/2005 12:00:00 AM
Hi,
I have a series of forms that collect information from a user. When I write
out my information to a text file after the last file, the values of the
previous forms seem to be blank. I would like to retain the values of
names.textbox1.text and names.textbox2.text for the output file.
An... more >>
finding memoryleak
Posted by LS at 5/9/2005 12:00:00 AM
I have consoleapplication which is always running fine for serval weeks
until I get an "out of memory exception"
I thougth the dotnet framework was supposed to handle my bad programming :)
What is the best method to find this memoryleak?
Regards
Geert
... more >>
Encryption using X509Certificate
Posted by rawCoder at 5/9/2005 12:00:00 AM
Hi All,
I have a *.cer file, a public key of some one and I want to encrypt some
thing using this public key.
Can someone point me to a sample code for Encrypting some file using
X509Certificate ( *.cer file ) so that it can be used to email as
attachment.
The real part is Encrypting usi... more >>
update the database
Posted by Irfan at 5/9/2005 12:00:00 AM
hi, all
Two question:
1. When a row is deleted or added (or in other words when there is change)
in the datagrid, Is this change actually the change in the underlying
dataset ?
2. which event of datagrid control is fired when a row is deleted or added,
so that i can create the command... more >>
Broadcast Message
Posted by André_Nobre at 5/9/2005 12:00:00 AM
Hi all...
I need to send a broadcast message thru my network (obvius...) with
vb.net when some conditions get ok. Someone can indicate me material to
study this subject? Or somes tips, I would appreciate.
Thanks,
André Nobre... more >>
Docking of controls
Posted by Tor Inge Rislaa at 5/9/2005 12:00:00 AM
Docking of controls
I have a ToolBar on top of my form. The property Dock is set to Top. Beneath
that I have a Panel as have the same Dock setting set to Top. The panel is
Beneath the ToolBar because the ToolBar was inserted to my form as the first
of the two controls. How can I change the ... more >>
Integer.Parse
Posted by lgbjr at 5/9/2005 12:00:00 AM
hi All,
I have a question regarding Integer.Parse. I'm doing the following:
Dim H_cid1, H_cid2 as String
Dim I_cid1, I_cid2 as Integer
H_cid1 = "BFEBFBFF"
H_cid2 = "00000F29"
I_cid1 = Integer.Parse(H_cid1, Globalization.NumberStyles.HexNumber)
I_cid2 = Integer.Parse(H_cid2, Globalizat... more >>
DataGrid Load Data Problem
Posted by Ky at 5/9/2005 12:00:00 AM
Can i user dataset partially load the data to datagrid depends on the scoll
bar moving?
seems like power builder have this function of the data browser/windwows (i
forgot), but it can partially load data to grid.
So can someone know the method in VB.Net?
... more >>
Cursor no appare
Posted by fbouabcha at 5/9/2005 12:00:00 AM
Hello,
I don't know if you can help me; when my application is starting, I can see
the cursor, I try with the property "myTextBox.forcus" but nothing.
Thanks
... more >>
Cannot call Close() while doing CreateHandle
Posted by Nice Chap at 5/9/2005 12:00:00 AM
I get this exception when I call Me.Close on Load event of a Form. The form
producing the error is an MDI child of another form. Any ideas how I can get
over this problem please.
I have tried doing Me.Close on HandleCreated and Activated events but get
the same exception.
... more >>
Forms, multi-threading, Chats
Posted by Mahesh Devjibhai Dhola [MVP] at 5/9/2005 12:00:00 AM
We are building Chat like application using Forms and as a result our
programming is becoming complicated to display messages received on
different threads in the chat window (due to STA requirements of Forms). Is
there a way to build Chat like application WITHOUT using FORM, so that one
can use... more >>
Threads and memory
Posted by Marty at 5/9/2005 12:00:00 AM
Hi,
Does the use of many threads increase the level of used memory (RAM) by
my appl.? How can I measure that consumption of mem. by threads?
Thank you
Marty... more >>
HTTP:500 Internal Server Error
Posted by vighneswar at 5/9/2005 12:00:00 AM
Hi All
I am working on a project in which i have to upload files to an remote
server via HTTPS.
For that i have written the following lines of code,but when i execute it I
am getting an
HTTP:500 Internal Server Error.Please let me know where went wrong in it.
1.The client has given the cr... more >>
Socket and multi-threading
Posted by Mahesh Devjibhai Dhola [MVP] at 5/9/2005 12:00:00 AM
Hi,
Socket class documentation says that it is not thread safe. We understand
that if do simultaneous sends on ONE socket then it will be a problem (or
simultaneous receive). Can we create TWO threads on OUR OWN such that one
will do SEND and one will do RECEIVE using the SAME socket reference... more >>
Saving the state of UI
Posted by Mahesh Devjibhai Dhola [MVP] at 5/9/2005 12:00:00 AM
Hi,
User can adjust the size of columns of a table or the position of splitter
in UI. We want these adjustments to be remembered when we restart the
application. Currently, we are saving these adjustments by the user in an
XML and saving that XML. We read the XML upon restart and make calls to... more >>
|