all groups > vb.net > may 2004 > threads for sunday may 30
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
any function is equal to "Switch" in Java with VB?
Posted by ken at 5/30/2004 11:31:04 PM
any function is equal to "Switch" in Java with VB
thank heaps... more >>
DES.CreateEncryptor() Question
Posted by Tiraman at 5/30/2004 10:31:38 PM
Hi ,
can some one explain me what does it mean those 2 params that i need
to pass the des.CreateEncryptor(rgbKey as byte,rgbIV as byte)
Best Regards ,
Tiraman :-)
... more >>
Hide property in PropertyGrid
Posted by Lance at 5/30/2004 9:26:02 PM
I have a situation where I want to show a property when one object is selected in a PropertyGrid, but I want to hide that property when more than one object is selected. For example, lets say I have an object with a Name property that must be unique. If one of these objects is selected by a Proper... more >>
An interesting problem...
Posted by Michael Sutherland at 5/30/2004 9:13:54 PM
Here's an interesting problem I've come across.
I'm writing a program that essentially generates random strings (its a
simulator of the game Boggle) and sends them to a function that does a
binary search on a word list to see if that string is listed. However, at
seemingly random intervals (I'... more >>
Arrays in VB6
Posted by Bob at 5/30/2004 7:36:46 PM
Unlike VBScript, the arrays in Javascript are objects that
have methods and properties. The following example defines
an array in Javascript. How can I achieve the same in
VBScript? Can someone convert the following function
(arrayTest ()) defined in Javasctipt to its equivalent in
VBScrip... more >>
delaring and initializing "Dim a As Integer"
Posted by Peter Ignarson at 5/30/2004 1:34:13 PM
Hi, simple question
Is there a syntax (other than the one below that is invalid) that will let
me declare and initialize two variables at the same time (using VS 2003,
1.1) ?
Thank you
Pete
Dim a,b As Integer = 6 'Syntax error, invalid
... more >>
How to check if a BackgroundImage property has any image?
Posted by kjon at 5/30/2004 1:32:38 PM
Hi, I'm trying to get the BackgroundImage of a form/control and draw it
again in runtime. But if the Backgroundimage is "None", the DrawImage
command will give an error.
Is it possible to programmaticaly check the Backgroundimage property of the
form/control in runtime whether it is "None" or ha... more >>
Embedded resources and the res protocol
Posted by dan NO[at]SPAM iregren.com at 5/30/2004 1:01:44 PM
Hi,
How do I embed a picture (gif for instance) in a dll using VB.NET so
that the picture can be used in a html page with the res protocol?
I have tried adding pictures (as Embedded resources) to my class
library and then accessing them from html with
<IMG SRC="res://ResLib.dll/GIF/ResLib.t... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Oracle test version
Posted by Rodger Dusatko at 5/30/2004 11:34:49 AM
Is there any way I could have a test version of Oracle to prepare myself for
a job later without having to buy Oracle?
yours truly
Rodger Dusatko
... more >>
Setting a break when a value changes
Posted by Rodger Dusatko at 5/30/2004 11:33:16 AM
In VB .NET I am having problems setting breaks. I want the break to be
independant of any single function:
for example:
err.number
or global variables
When I try to set a break with the 'Data' tab, It doesn' allow me and says
that Basic doesn't support data breakpoints.
How can I set t... more >>
Module or Code file ?
Posted by Agnes at 5/30/2004 11:24:52 AM
I want to write a program with many sub-method.
for example,
1)method :company_search(code) which return name,addresss...etc
2)method:currency(code) which return the current exchange rate....etc
..... manys
Should I write it use module ??? or in code file ??
What is the difference about it ?... more >>
Structure Assignment
Posted by Vadim Rapp at 5/30/2004 10:20:02 AM
Hello:
Is there a way to assign a structure from the result of <structure>.ToString
in one statement?
For instance, if such function existed, it might look like this:
Me.Size = OurFunction(Me.Size.Tostring)
thanks,
Vadim
... more >>
DLL Project in .Net
Posted by Grumpy Aero Guy at 5/30/2004 10:06:46 AM
The college I teach VB for just upgraded to .net from VB6 (without ANY
warning to the professors--- at least we know where we stand)
Therefore, I'm kinda scrambling to get a few rough edges ironed out.
VB6 allowed for the creation of an ActiveX DLL project.
I have been able to scrounge a V... more >>
Graphics from a "console" program
Posted by Gary at 5/30/2004 8:31:09 AM
Hi,
I would like to display a form and draw some line graphics on the form,
and do all of this from a "console" program. I would like control to
remain with the console program before, during, and after the form is
displayed (i.e. I don't want to switch to an event driven model).
Is the... more >>
How to create a dockable controlbar for Winforms in VB.Net?
Posted by Hal at 5/30/2004 8:26:03 AM
Anyone know of any reference articles to creating a dockable controlbar for WinForms using VB.Net? I am interested in building a floating window that can be docked within the main form of the application if the user chooses. I have seen an article written in C++, but I can't seem to find anything fo... more >>
How to replace unicode characters with their HTML codes.
Posted by Atara at 5/30/2004 7:23:20 AM
I have a file path that contains unicode characters.
e.g: "C:\vs2003\OutputDir???\mc_data\"
I want to translate this string to HTML with unicode characters:
e.g: "C:\vs2003\OutputDirאבג\data\"
I tried
strPath = System.Web.HttpUtility.HtmlEncode(strPath)
but it ... more >>
converting from header files to Win32API declare
Posted by Majed at 5/30/2004 4:04:19 AM
hi,
I'm trying to convert some .h files to API Declaration to use the function
and structs.
one of it is this:
NTMS_GUID CurrentLibrary; // the current library
NTMS_GUID MediaPool; // media pool that the media belongs to
NTMS_GUID Location; // actual location of the media
DWORD Location... more >>
VB.NET known bug?
Posted by graham at 5/30/2004 1:29:39 AM
Hi there,
Anyone know if this is known bug...
In the IDE I generate a dataset from a dataadaptor. with two tables in the
dataset.
The IDE shows the dataset in the project at the bottom and also shows the
..xsd file in the project explorer.
Now, I want to add a relationship between th... more >>
Do I Have to Open a Connection 3 Times?
Posted by jimb at 5/30/2004 12:41:32 AM
I'm just starting to learn asp.net. What I have is a registration form
for a message board system. Basically, the user enters in their info
and it's validated. So I have a custom validator check to make sure the
username is unique, I have another custom validator that makes sure the
email... more >>
|