-
- Hi, Tailor POINT is a STRUCTURE with more than one property and is treated as a single item.
by Tailor
- 10 Replies
- Last post
by Tailor
- Hi,
I'm having trouble coming to grips with the use of arrays. This time I need to put a number of co-ordinate Points into an array. for example startPoint = 50,180 endPoint = 100,180
I've initialised my array :
Dim arrowCoord(,) As Point = New Point(,) {}
Then tried to input data with this.
arrowCoord(0,0) = (startPoint, endPoint)
I'm getting the error message that a ')' is exp
-
- AES encryption
by GreatDane
- 2 Replies
- Last post
by APMadsen
- Hi
I would like to utilize AES encryption, but it seems that it isn't support in the .net framework - any suggestions og how to implement it
-
- replace isdate with string.gettypecode?
by cwillsh
- 5 Replies
- Last post
by Riquel Dong ¨C MSFT
- Is this the right .Net equivalent to use for IsDate()
If somestring. GetTypeCode = TypeCode.DateTime Then dosomestuff
-
- Using filesystem object in Visual Studio 2005
by menelaus
- 3 Replies
- Last post
by Eric Knox - MSFT
- The following code fragment causes a " character to be written to both the start and end of a record that I write out to a new file. The original file does not contain these " characters at the start and end of each record. However it does contain # and \ characters at the start. (I have not included the openshare syntax because I dont think this is relevant)
The code is as follow
-
- Tips on overriding/disabling some basic Windows functions?
by joynerCN
- 1 Replies
- Last post
by rkimble
- I'm trying to make a fool-proof alarm clock - I have the darndest time waking up to an alarm in the morning, mostly because I can hit the snooze button in my sleep. I've got an alarm clock on my computer, but it's quite easy to just X-out of it or turn the volume down to shut it up and go back to bed.
So, I'm looking for a way to make a program that:
Can't initially be closed (I plan to
-
- byte array to binary string
by meriano
- 4 Replies
- Last post
by meriano
- I have a standard byte array but I need each byte as a binary string, including all 8 bits. I use the convert method to get the byte as a string can't get the preceeding zero's if there are any in the binary representation.
Dim array(2) As Byte
a(0) = 10
a(1) = 0
Dim c As String = convert.tostring(a(0),2) ---> '1010 '
but i need 00001010 - any help would be greatly ap
-
- ByVal and ByRef differences are demonstrated here.
by John Oliver (UK&am
- 9 Replies
- Last post
by Spidermans_DarkSide - VSIP
- Hi ALL,
This shows the difference of passing ByVal or ByRef with a simple example.
Just add two buttons to a FORM along with this code.
PASTE it in if you like.
Regards,
S_DS
____________________________________
Private Sub Button1_Click _
( ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles Button1.Click
-
- ERROR: Unrecoverable build error when building Setup project in VS.Net 2005
by Yian
- 14 Replies
- Last post
by justncase80
- Hello, Somebody, please help me out, I got "Unrecoverable build error" when building setup project. I try the solution in http://support.microsoft.com/kb/329214/EN-US/ but did not work out. I am totally stuck. Please, your any information, solution will be very much appreciated. Thanks! Yi-an
-
- Anyone have used RTP ( RTC 1.3 ) in VB.NET ?
by viskar
- 0 Replies
- Last post
by viskar
- Can anyone guide me how can i setup the rtp audio device property in vb.net
-
- can labels have focus?
by KAllbritain
- 4 Replies
- Last post
by JohnWein
- I have an app that dynamically builds the user interface screen from a database table. It populates textboxes, checkboxes and labels, etc. Part of the app allows the user to move the objects to new positions and records them in the db table. When an object is selected with the mouse I loop thru the controls collection to see which object has focus and then do stuff. This works fine EXCEPT for labe
-
- Issues with WebBrowser Control browsing files
by CnCs
- 2 Replies
- Last post
by jlueck
- Hello I'm making a application i VB express 2005 using the built in WebBrowser control. It works great for browsing the internet, and it works great for browsing your local hard-drive (c:\) or memory stick. The problem however is when I'm entering the local office server. (X:\ in this case). Every time i want to open a file using the WebBrowser control im given a security warning telling me "It ca
-
- Timer Ticks Twice
by DaveNorton
- 1 Replies
- Last post
by DaveNorton
- Hi All
I am experiencing a small problem (challenge). I have a VB.net (2003) windows service that fires off a routine every 2 minutes. In fact, it executes an external program, so it doesn't really do much. Everything is great until I try to add threading to the process, either by way of the
Imports System.Threading
statement directly, or by referencing a library that includes that lin
-
- Save Before Exit
by xswzaq
- 8 Replies
- Last post
by xswzaq
- 1. I got this code below to handle my save before exit. But whenver I click the red (x) on form, but it did not do anything. Whether I click Yes/No/Cancel, it will only close the program. I donĄ¯t see what I do wrong that make it behavior like this. Please guide me to right direction.
2 . Is there a way to make the messagebox show only when user make change. Like if they click
-
- XML Serialization
by Peaceful World
- 3 Replies
- Last post
by Peaceful World
- Hi,
I am developing desktop applications using .NET 1.0, 1.1 thru VS 2002, 2003. I need your help. I want to serialize and deserialize the following xml file. please send me your suggestions or links.
<Details>
<card id="4075035"> <Url>www.test.com</Url> <Country>India</Country> <Infoid>823733</Infoid> <sampl
-
- Looking for certain Icons
by QWERTYtech
- 4 Replies
- Last post
by QWERTYtech
- In VS 2005 .NET , whenever you go to File - New - File , a window opens and lets you select what type of file you want to create. Above the "Templates" section there are two icons. Where can i find those to include in my project
I have recreated that screen but I lack the two buttons. Please help me if you can.
Thanks,
QWERTYtech
-
- sum of Time values
by Joao Pinto
- 9 Replies
- Last post
by PEng1
- I've a field on my database table that is of "Short Time" format. I've some values like this:
0:10
0:14
0:05
1:43
How can I add, for example, to the record "0:14", the value "0:06", to update the record and have the value of the field to show "0:20"
Can someone help me please
Thanks,
Joao Pinto
http://senhorpires.blogspot.com/
-
- Could you tell me the type of your applications?
by NetPochi
- 3 Replies
- Last post
by GaryMcC
- Hello. I have a question on user settings. When I install another version of my application on a customer PC I lost old users settings. Could anyone say me how could I retrieve them when I install a new version of my application
Thanks...
-
- Calling Win32 API ReadFile - have problem with the buffer/stringbuilder
by daredge
- 3 Replies
- Last post
by Aditya Kedia
- I'm using vb.net 2005 to call ReadFile API to read disk boot sector. I have some problem with the second paramenter. I tried byte array, string, stringbuilder, nothing seems work out. Most of the time, I got error code 87 (basically parameter marshalling problem). I can use Stringbuilder to get the program to run, the problem is when the data is returned from API, the string is prematurelly termin
-
- Console.Write from Windows Forms Application
by Swade
- 5 Replies
- Last post
by RMatthe
- I understand that I cannot use the System.Console to output information from a Windows Forms application because the standard input, ouput, and error streams are not run through the console in winforms apps.
But I can't seem to find any documentation on where the standard input, output, and error streams are being directed to!
Basically, I have a winforms app that accepts command l
-
- How can I create an array of label !!!
by Silver_Cz
- 4 Replies
- Last post
by Silver_Cz
- My code looks like this : Dim lb(10) As System.Window.Form.Label Dim i As Integer For i=0 to 9
lb(i) = New System.Window.Form.Label() lb(i).Text = "test" lb(i).Visible = true Me.Controls.Add(lb(i)) next I'll be so glad to get some solution ^^
-
- Images on buttons - Changing them dynamically and ensuring constancy
by fweeee
- 3 Replies
- Last post
by fweeee
- Hi, I'm trying to acheive two things, but as they are both with images and buttons, I have combined them into one posting. Firstly, I want to make the image on a button dynamic. Just a snippet of code to show how to change it will be enough (googling found me lots of sites showing how to manually change it in the properties). Secondly, I want to have a central repository of images throughout my wh
-
- Where Can i get visual basic controls creation edition
by Wowy7
- 1 Replies
- Last post
by SJWhiteley
- does anyone know where i can get visual basic 5.0 control creations edition
-
- unable to enter data in textbox- Access 2000
by synergeticsoul
- 2 Replies
- Last post
by synergeticsoul
- i am unable to enter a numeric value in a textbox. i converted a db from 97 to 2000. i just read that there may be some conversion problems and in particular one of the problems lies with the text boxes. microsoft instructs users to remove the textbox and then re-add it. i did that, changed the control so that it was unbound too, still can't enter anything. any suggestions how i can overcome this
-
- opening a file
by BurningPubes
- 9 Replies
- Last post
by rochfordjc
- hi I know this sounds noobish but whats the code for opening a file when a control is clicked for example I have a video file on the hard disk and I want to open this file when I click a specific button.
thanks very much!
-
- fortran dll
by vbfortran
- 10 Replies
- Last post
by plinko
- Hi all!
I hope I could get some help over here. I have succesfully managed to create a fortran dll which includes lots of calculation code (functions). I have a compaq visual fortran compiler, version 6.6. So, here comes my problem => That .dll I created works just fine (all the 24 functions) but problems occurs when I try to use that same dll in another computer which does not have compaq v