Hi ASP.NET Experts,
I just started exploring in Visual Studio 2005, so would like to ask a few questions on that.
As I know we have to create new web site for a web application right.
May I know how to do the "Copy Project - with compiled source code" in
VS2005? It has the "copy web site" only right. Since it is not a
project, how to make it to be compiled source code? Would it come out
with the DLL, no right? Any idea or best practice way to do that if we
wanted to do the deployment on a web application?
What is the used of App_Code, App_Data and so on? Is it good to design the achitecture in those folder?
I am writing a reader driver by using visual basic.net. I want to flow a package in bytes to the reader. But it encounters some problems in sub programme sending package. Can anyone give me some suggestions??Thank you for your great help!!
Public Class RS232
Dim buffer As Byte()
Dim offset As Integer
Dim count As Integer
Dim returnValue As Integer
Dim value As Boolean
Dim target As Integer
Dim Data As Byte
Dim response As Byte()
Dim currentSerialPort As System.IO.Ports.SerialPort
Public Sub send_packet(ByVal cmd As Byte, ByRef b As Byte())
Been looking for VB.Net example on midi files, but only seem to get C++ or C# stuff.
Can anyone point me to an example in VB.
I want to write something that can:
a) Play a midi file
b) Change track levels realtime
c) Change instruments for the tracks
d) Transpose tracks
e) Display the levels of the individual tracks realtime
f) Save the changes made to the file
As a start though, if I could just find some vb.net code to play a midi file and I can get to the other stuff once I understand that basics
Try to define the connection string in a module as public and fill it when u first login to the main/first form. Then u can read it from every other form by calling its name and u can open and close the connection as many times as u want.
Hi, does anyone here know if vb.net 2005 has a "Print Screen" function to capture the Desktop image? (Just like if you were to press Ctrl + PrintScreen/SysRq".) I figure it has to, or at least have an easy way to access the Window's function for it. Thanks
it took a little trial and error, but...well, still nothing yet...
Then another if to change the pic box and some text, Else write the other text value
Why aint this working, i think it is trying to do the other if yeah (being that it is aligned with it)???. Plus, why does it have a :, i didnt add it, i did it itself!
If stage = 1 Then
lblFormName.Text = "Top Row"
If intScoreTop <= 4 Then pcbIcon.Image = My.Resources.Cross_big()
lblScore.Text = "You did ok, but only got " & intScoreTop & vbCrLf & " out of 10"
Else : lblScore.Text = "Well done, you got " & intScoreTop & vbCrLf & " out of 10"
What happens if you step through in the debugger ?
The rules for Then and EndIf are a little odd, from memory. I think your else will execute if state != 1.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
Last Visit: 31-Dec-99 19:00 Last Update: 10-Dec-23 7:29