all groups > vb.net > august 2005
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
msil and vb
Posted by VeNoM00 at 8/31/2005 10:04:20 PM
Hi,
i want to use a msil'potentiality that i can't use in vb, so i have to
modify the il code generated in the first phase of the build and then let it
finish.
1. VB
2. original msil
----i here come here----
3. modified msil
4. final output
Any help would be greatly appreciated
Thank... more >>
Is there an "easy" way to get the hardware parts temperature?
Posted by ThunderMusic at 8/31/2005 6:46:19 PM
Hi,
Is there an "easy" (I mean, with .NET framework and no asm code) to get
the hardware parts temperature assuming there are sensors to sense it? Like
the CPU Core temp or any other parts. I know the temperature of some parts
is available in the BIOS depending on the brand of the motherboar... more >>
ToolStripComboBox Items
Posted by Manuel at 8/31/2005 6:07:48 PM
How can I add an item to a ToolStripComboBox and specify a DisplayMember and
a ValueMember?
... more >>
Error when uploading file
Posted by Nathan Sokalski at 8/31/2005 5:11:07 PM
I am trying to write code to allow my users to upload a file. The code I am
using is as follows:
Dim upfilename As String = ""
If fileDetails.Value <> "" AndAlso fileDetails.PostedFile.ContentLength > 0
Then
Dim dir As String() =
fileDetails.PostedFile.FileName.Split("\".ToCharArray()... more >>
Object not defined when it is
Posted by tshad at 8/31/2005 4:32:28 PM
I have a function where VB.Net says my StreamWriter object is not defined in
my Catch area, but it is OK in my Try area.
************************************************************
Try
Dim objStreamWriter As StreamWriter
ObjStreamWriter = New StreamWriter("C:\Employee .txt")
....
... more >>
multi column combo box in vb.net
Posted by CindyH at 8/31/2005 4:14:49 PM
Hi
Does anyone know how to create a multi column combo box from the same table?
Thanks,
Cindy
... more >>
Help filling dataset with one to many realtionship. HELP PLEASE REALLY URGENT!
Posted by Jean Christophe Avard at 8/31/2005 3:20:37 PM
Hi!
I have a query that INNER JOIN's three other tables. All the relation are 1
to 1, except for one, where an Item can have more than one price. I have
this query that work fine in MSDE Query Analyzer, but when I fill a dataset
with it, I get an error. (I attached a screenshot of it)
... more >>
How to clear Recyclebin programmatically
Posted by Learner80 at 8/31/2005 2:32:39 PM
Hi,
is there some .net code to programmatically clear the recyclebin and have
the recyclebin updates its icon after it has been emptied via some .net
class?
Please help,
thank you
Learner
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How to get control that the handle is attached to?
Posted by John Mark Howell at 8/31/2005 2:03:59 PM
I have a form with five programatically created labels and a datagrid. I
want to drag a row from the grid to the label. I have attached a single
DragOver event handler (via AddHandler) to each of the labels and that works
fine. Now I would like to add a single DragDrop handler. I can add the... more >>
how to save mpg.......
Posted by Supra at 8/31/2005 1:25:06 PM
i'm using panel's control to viewed video. but don't know how to save mpg.
ne 1 hints me?
regards... more >>
Information on Input Button
Posted by Stephen Noronha at 8/31/2005 1:11:06 PM
Hi all,
I have an input button
<input type="button" id="Button2" name="Button2" value="More"
onclick="openPage()">
this input button onclick opens another page.
this "More" button is for additional information only (say I have extra
notes), and if there is none available then it should not... more >>
Debug setup
Posted by CGW at 8/31/2005 1:03:03 PM
We have an in-place, web application on a Windows 2003 server. The previous
developer had not set up for debugging. However, when I try, I get...
Error while trying to run project: Unable to start debugging on the web
server. Access is denied. Verify that you are an administrator or a member ... more >>
Up Down Arrows as TAB Key
Posted by Bob at 8/31/2005 12:05:54 PM
Hello:
I'm tring to make the down arrow act as a tab key and the up arrow act as
like (-TAB.).
I have this for the down arrow but nothing happens.
Protected Overrides Function ProcessDialogKey(ByVal keyData As Keys) As
Boolean
MyBase.ProcessDialogKey(keyData)
If keyDat... more >>
Problem with Excel.WorkBook.SaveAs()
Posted by Lars Netzel at 8/31/2005 11:50:17 AM
I want to overwrite an excel file I have opened but I do not want to get the
question "Do you want to overwrite" .. .I just want to it overwrite silent..
How do i do this?
wbk = oExcel.Workbooks.Open(fileName, False, False, missing, missing,
missing, missing, missing, missing, missing, miss... more >>
How to easily get a results from a group of radio boxes ?
Posted by at 8/31/2005 11:49:02 AM
I use several mutually exclusive radio boxes (with a group box).
How can I easily test which one is checked, do I need to do
a multiple if or case statement to check all of them one by one,
or is there a simpler way?
... more >>
Slow Data adapter Configruation Wizard
Posted by Gshell at 8/31/2005 11:41:20 AM
When I get to the "Choose your data connection" screen and click the down
arrow by the combo box, it takes several minutes (4 or more) to present my
list of two pre-existing sources. (Both of which are on line.) This only
occurs the first time after I open VB.NET. As long as VB.NET remains ... more >>
how to save mpg.........
Posted by Supra at 8/31/2005 11:38:04 AM
does ne 1 know how to save mpg using panerls control instead of picturebox.... more >>
Vb 2005
Posted by Andy at 8/31/2005 11:35:13 AM
Hi
I found some training videos for VB. 2005 express. How is the quality on
these? I would guess that they are good enough for a beginner since
Microsoft has published them on their web?
/A.
... more >>
Breakpoint question
Posted by Marc Robitaille at 8/31/2005 11:33:29 AM
Hello,
Is it possible to set a king of breakpoint to check if a value has change? I
know how to set a breakpoint but we must set it in a particular sub or
function. What I need is if my property change from one value to an other,
anywhere in the code, I want the application to stop where th... more >>
hardware recommendation
Posted by steve at 8/31/2005 10:28:51 AM
we've got an application that we built using vb.net running on a panasonic
toughbook. the toughbook is mounted in a repair truck and is meant to be
locked in its mount on a semi-permanent basis. the application collects -
you guessed it - repair information. we've added the barcoding of differ... more >>
Visible property does not change
Posted by Marc Robitaille at 8/31/2005 10:09:05 AM
Hello,
Hello,
I developed a UserControl. It has funny behavior. It is composed of three
controls. A texbox, a combobox and a button. There are three properties to
indicate the visibility of the three controls. The only property which
functions well is the one for the button. The two other... more >>
Form Load -> show form... then do stuff
Posted by Chris Thunell at 8/31/2005 9:38:30 AM
Right now I have a vb.net windows form project that does a whole bunch of
things on the form.load event. The problem with this is that the user does
not see the form until all the those things are done.
Is there a way for a form to be shown first AND THEN have it automatically
start to run... more >>
lazy question
Posted by rodchar at 8/31/2005 9:09:05 AM
hey all,
in the code editor, you know when you have an expression like the following:
TextBox1.Text = Value1
can i create something to automate flipping the sides
Value1 = TextBox1.Text
i'd like to apologize ahead of time to those who think this is a dumb
question.
thanks,
rodch... more >>
List files in use
Posted by Gene Vangampelaere at 8/31/2005 8:39:07 AM
I need to know if there are programs (exe) of files (txt, ...) in use in a
certain folder.
example :
Folder : c:\temp
Files open : c:\temp\file1.exe
c:\temp\file2.txt
...
Can someone give me some help ?
cheers,
Gene
http://www.vangampelaere.be/blogs/g... more >>
OwnerDraw ComboBox problem.
Posted by Lars Netzel at 8/31/2005 8:10:17 AM
Hi!
In VB.NET want to draw my own items in a ComboBox=20
I have added a ComboBox to the Form with this.
-------------------------------------------------------------------------=
----------
'ComboBox1
'
Me.ComboBox1.DrawMode =3D System.Windows.Forms.DrawMode.OwnerDrawFixed
Me.Combo... more >>
Strange IDE Problem
Posted by Giles Papworth at 8/31/2005 4:01:01 AM
When ever i press enter on an existing line of code, it putx the code down
one line as expected. However the carret goes one tabs distance along the
code i have just carriage returned.
If i press return again it will put a carriage return in the middle of the
line of code. What is going wro... more >>
Treeview_scrollbar_help
Posted by sonali_reddy123 NO[at]SPAM yahoo.com at 8/31/2005 4:00:54 AM
Hi,
I am having a problem regarding use of a treeview.
The problem is whether it is possible to set a default position
to the scrollbar so that if any of the treenode contains the
text bigger than the size specified for the treeview the scroll
doesn't move to the treeview max size and ... more >>
Frozen Gui
Posted by Gabi at 8/31/2005 1:37:03 AM
Hi All,
i built dome dialog that can show the progress and make some actions.
when im activating it, and do not touch any screen i can see the progress
bar progress and evrything work nice.
but when im open a new window (my computer for example)
the gui frozen and not respons until the gui fin... more >>
General GDI+ Error
Posted by Philip Wagenaar at 8/31/2005 1:15:11 AM
..43Hi,
I am trying to extract tiff images from a multipage tiff and save them to
disk. This is becoming almost a nightmare for me. I have seen several
examples on the net that talk about this. For example :
http://www.codeproject.com/vb/net/faxeditor.asp THis example should work
great. B... more >>
Starting a Dial Up connection?
Posted by Lars Netzel at 8/31/2005 12:00:00 AM
Hi!
Is it possible to start a dial-up connection that is already created on the
computer thru VB.NET, and then after it has dialed up get an idication of
that there's a connection ( I guess ping some server?) and then send a mail
and close the conenction?
I really need some pointers in ... more >>
how to save picture..........
Posted by Supra at 8/31/2005 12:00:00 AM
does ne 1 knows how to save picture? i'm using panel's control to
viewed picture.... more >>
Shorthand for AND, OR, etc?
Posted by Thief_ at 8/31/2005 12:00:00 AM
Is there a shorthand method for:
Status = Status AND 1
I'm thinking that if you can do:
StatusText &= "Test"
and
StatusCounter += 10
Then it should be possible with logic operators?
--
|
+-- Thief_
|
... more >>
Where to post the asp.net queries?
Posted by Sakharam at 8/31/2005 12:00:00 AM
Hi All,
Is this the right place to post the queries regarding ASP.NET (VB).
If there is any other group, then please suggest.
Regards,
Sakharam Phapale
... more >>
How to get a list of private constants declared in a form?
Posted by Don at 8/31/2005 12:00:00 AM
Using the following code I can retrieve a list of public constants declared
in a form:
---
Friend Sub GetFormConstantIdentifiers(ByVal form As Form)
Dim fieldInfo() As System.Reflection.FieldInfo
Dim i As Integer
fieldInfo = form.GetType.GetFields()
... more >>
Unable to establish connection to Access database via code
Posted by Frustrated Developer via DotNetMonster.com at 8/31/2005 12:00:00 AM
I am trying to establish a connection to an Access 2003 database I have
stored locally on my C:\ drive. However, everytime I try to run my code I get
the following error message.
An unhandled exception of type 'System.Data.OleDb.OleDbException' occurred in
system.data.dll
I've looked at sev... more >>
how to save mpg.........
Posted by Supra at 8/31/2005 12:00:00 AM
does ne 1 knows how to save picture? i'm using panel's control to
viewed picture.... more >>
looking for resources
Posted by poldoj at 8/31/2005 12:00:00 AM
Hi, Im looking for good free web site with VB.NET resources, like library,
dll, snippets, etc
I got in my bookmark already www.codeproject.com and www.gotdotnet.com
Someone knows betters?
Thanks
... more >>
GetActiveWindow handle
Posted by David A. Osborn at 8/31/2005 12:00:00 AM
I'm having problems getting the caption on the active window handle. The
active window handle seems to always come back as zero and the caption
blank.
Private Declare Function GetActiveWindow Lib "user32" () As System.IntPtr
Private Declare Function GetWindowText Lib "user32" Alias "GetWind... more >>
OwnerDraw ONE listView Subitem only?
Posted by Lars Netzel at 8/31/2005 12:00:00 AM
Is it possible to have 5 Subitems in a listview and only take over the draw
item for the last of them or do I have to draw the whole item?
I just realized I need a little image before the text in the last SubItem,
is that possible without having to mess with the first 4 Subitems?
mvh
/Lar... more >>
Compiler directive
Posted by VBTricks.de.vu Webmaster at 8/31/2005 12:00:00 AM
Hello,
wanted to create a light-version of my program using compiler directives
(#If, #Const). Unfortunately that doesn't seem to work.
The following line I add to AssemblyInfo.vb:
#Const bLightVersion = True
All functions that should be deactived I but between a
#If Not bLightVersi... more >>
Boolean to Value for SQL
Posted by ree32 NO[at]SPAM hotmail.com at 8/30/2005 11:48:30 PM
When I try to insert values from a boolean into SQL I keep getting this
error.
The name 'True' is not permitted in this context. Only constants,
expressions, or variables allowed here. Column names are not permitted
"INSERT INTO table (bitColName) VALUES ('" & boolValue & "')
Is there a... more >>
Why Can't I Delete a record this way?
Posted by Stanav at 8/30/2005 9:31:04 PM
Hello all,
When a user click on the "Update" button on my program, I want to update the
database using the sub below. I was able to insert and modify records, but
can't delete records. The error reads: "Deleted row information cannot be
accessed through the row". I understand that when I re... more >>
So where to start?
Posted by Andy at 8/30/2005 9:27:04 PM
Hi
2 years ago I spent a lot of time learning VB.Net, and finsished the book "
Visual Basic.net, step by step". I felt I had learned a lot, but sadly
things happened, and I haven't been using VB.Net since. Well, now I will
pick it up again, but might have to start over. So, should I continu... more >>
Drive type
Posted by M K at 8/30/2005 9:10:11 PM
I am looping through the drives and only want to process those that are
harddrives and not CD, floppy, dvd etc. What method(if any) or code do I
use?
What I am trying accomplish is to search for a certain type (i.e. *.bat,
*.ico etc) on every harddrive and return the name and path
(also a s... more >>
Ampersands (&) in Hexadecimal numbers, What's the rule?
Posted by Hong Kong Phooey at 8/30/2005 5:46:27 PM
I feel dumb asking this, haveing programmed in VB for so long, but here
goes...
What is the rule for putting an ampersand (&) at the END of a hexadecimal
number in VB?
For example:
Dim x As Integer
Dim y As Integer
Dim z As Integer
x = &H8000
y = &H8000& 'Produces a different value
... more >>
I want to bind a runtime-generated dataset to a crystal report. HELP!!! PLEASE!!! URGENT!!!
Posted by Jean Christophe Avard at 8/30/2005 4:25:02 PM
Hi! It's been about 2 weeks I'm stucked on this. I have a dataset that I
generate at runtime. Then, I want to print the records contained in the
dataset. I just don't know how to bind the dataset field to the report
field. Please I really need help for this, I looked all over msdn, google.
vbfor... more >>
Create Desktop Shortcuts in Setup Project
Posted by Michael D. Murphy at 8/30/2005 3:58:10 PM
Hi,
I am searching for a way to creat desktop shortcuts when running the setup
files that were created within a VB solution using the setup wizard.
Thanks,
Michael
... more >>
Access control externally.
Posted by Shawn at 8/30/2005 3:53:17 PM
If I have an application with a public button, how can I click that button
from another application?
... more >>
VB.Net winodws project not being compiled when running debugger
Posted by Winshent at 8/30/2005 3:18:21 PM
When i change the text in a label, they do not appear when i run in
debug mode. However, if i delete the exe in the bin folder, the change
appears.
Also it does not stop at breakpoints.
I have an ASP.Net project within the same solution and this does not
suffer the above problems.. it stops... more >>
Display data in a pop up
Posted by Stephen Noronha at 8/30/2005 2:12:11 PM
Hi all,
I have a question, I have a restricted page (lots of data) and it really
causes problems if i display all data, so I want to use a pop up to display
the rest of the data, if i use a hyperlink like this
e.g:
<asp:Hyperlink Runat="server" NavigateUrl="http://google.com/"
onclick="windo... more >>
|