|
Why don't you use tab control? Check the toolbox!
How did you create the tabs?
What a curious mind needs to discover knowledge is noting else than a pin-hole.
|
|
|
|
|
even though we create dynamic tabs or buttons how to evoke events like onclick ,....
with regards
Balagurunathan.B
|
|
|
|
|
|
Hai i have migrated the vb code into vb.net.When i was migrating i found that copy memory function cant able to work it seems.
i am using the function
Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (ByRef hpDest As any, ByVal hpSource As any, ByVal nBytes As Integer)
and call the function inside form1.show
Call CopyMemory(arrBarCodeInformation(0), ptrBarCodeInfo, size_Renamed)
i have declared
Public arrBarCodeInformation() As BarCodeInformation
Public Structure BarCodeInformation
Dim tRegionRect As rect
Dim dwBarType As Integer
Dim fOrientation As Single
Dim lDecodeStatus As Integer
Dim lNoOfCharacters As Integer
Dim lpbDecodByteArray As Integer
Dim lReserved As Integer
Dim hReserved As Integer
End Structure
using this i want to copy the memory value from integer value into the structure variable.how can it been done.tell me the syntax are any function to copy memory
|
|
|
|
|
You're not listening. You do NOT need CopyMemory to do this. You need to marshal this structure to your function properly. This is not done the same way it was under VB6.
If you created and instance of this structure in your code and just want to assign a value to one of it's members, then all you have to do is something like this:
arrBarCodeInformation(0).dwBarType = 42
Other than that, you haven't described what your doing with this stuff, nor have you posted any of the code you're trying to convert to show us what you want it to do.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hi All,
How do I state where abouts on the page I want a msgbox to appear?
Also is it possible to make it topmost (like the way you can make forms top most).
Thanks in advance
Jaidev
|
|
|
|
|
Popular question This was asked just a few posts down. I believe you can't position the msgbox. You could make your own message box though. All it is is a form. It's little more work to re-invent the wheel but if you want to place it then you'll need to create your own. It will also allow you to make it topmost.
|
|
|
|
|
Hy
I need to read a text file from a server.. i can connect with a ftp 2 that server - how do i do this??. Can anyone help?? - i'm using vb 6
|
|
|
|
|
Before telling you how to do it, have you searched for an answer?
I did a quick search with the terms: vb6 ftp code sample and found a solution on the first page of hits.
Tim
|
|
|
|
|
I am using Background worker class in my application to retrieve the some files in system but filenames are not populated in grid.......
Please Help
tony
|
|
|
|
|
The background worker and the UI run on separate threads. In order to send results to the UI from the backgroundworker you can use the ReportProgress method of the background worker. In the UI you will need to handle this event to add new items to the grid.
Or you can return the results in the RunWorkerCompleted method than have the UI update the grid.
Mike Lasseter
|
|
|
|
|
|
pla help me
i want to put a text box string in arabic or hindi to database-access
in access the string is showing something like unreadable pls help me
thanking u inadvance
basheer
basheer
|
|
|
|
|
Hi
I want to write a realtime application - one window (running in the main thread) will talk to the outside world and get stock prices - then there could be any number of other chart windows each running in their own threads. When a new price comes into the main window I want to raise an event (new price) that all the other windows will pick up and if they are interested in it plot the value. So How do I raise an event that any number of other threads will pick up and process.
Any help greatly appreciated
Thanks
Paul
|
|
|
|
|
I am trying to add a line of text to a log file over HTTPS and after trying lots of different methods I either get a 405 error (method not valid) if I use POST or if I use PUT it simply overwrites the file rather than appending. I am literally pulling my hair out with this. Any help would be much appreciated. My code at the moment is:
Dim client As New System.Net.WebClient()
client.Credentials = New System.Net.NetworkCredential("XXX", "YYY")
client.UploadString("https://sbs.expwconsulting.com/Event generator/Logs/checks.txt", "PUT", "Test")
|
|
|
|
|
Hello,
I am using VB Dot net 2005. in my project i am using datagrid. i filling data grid with this command dgStudentDetail.DataSource = ds.Tables("tblStudentInfo") . i am using Fname Column Name for Father Name. in the grid it is showing column name Fname. How i can change Column Name in Data Grid.
Plz help me for this.
Thanks & Regards
Form :-
Vikash Yadav
|
|
|
|
|
Use datagrid tablestyles..
if u need the code mail me at gokhale.i1@gmail.com
|
|
|
|
|
Hi guys,
Got a question for anyone who can help.
I have deployed an application I created in VB.NET on a client's PC. The application accesses a local Access database file. Everything works fine.
When I move the locally stored Access DB file to a shared network drive, and update the appropriate connection strings in my app to reflect this change, the app will crash when it runs the next time with the usual Microsoft Send Error Report dialog box appearing. It gives you a memory dump and a System Unauthorized Access error message.
The shared network drive has full read-write properties enabled for the appropriate user.
However, the trouble is that once it crashes, even if you change the connection strings and move the Access file back locally, whenever you try to run it from then on it still refuses to work and crashes. Uninstalling and reinstalling the app bears no results. The only way I have found to get it to work again is by going into the appropriate user's Local Settings folder and renaming or deleting the local configuration files.
Is there a setting or a permission I need to set to get it to work on the shared network drive? Do I need to alter settings in the .NET framework? If so, what do I need to change and where do I need to change it? While on my development PC in Administrative Tools there is a 1.1 .NET framework configuration link and 2.0 .NET framework configuration link, on my client's PC where I deployed the app there is only a 1.1 .NET framework config link, even though .NET 2.0 is installed. Examining the link on my development PC, I discover that it points to a file in ProgramFiles\MSVisualStudio8, as compared to the 1.1 .NET config link which points to Windows\Microsoft.NET\Framework. So how do I configure 2.0 .NET framework if I don't have Visual Studio installed on that machine?
I know I've rambled on long enough and I've probably bored you guys, but any help would be greatly appreciated. Thanx.
Regards, Alex.
The perfect code is always in your head...it just a matter of how hard you bang your head against the wall to get it out!
|
|
|
|
|
Anyone ?
The perfect code is always in your head...it just a matter of how hard you bang your head against the wall to get it out!
|
|
|
|
|
HELP!!!!!!!!!!
The perfect code is always in your head...it just a matter of how hard you bang your head against the wall to get it out!
|
|
|
|
|
hi group.
i need to develope a software in .net platform. if anyone can guide through out the project then i will be greatfull.
the project description is as follows:
in a local area network i need to captute all the packets that is sent by the clients to other clients.
then the server will put the required constraints :-
like i want to restrict a node to access for the internet between specific time (9am to 3pm...others can access but bot this node)
i have to keep track of each node to draw graph for each to show their average packets received and sent within last 5 mins, 1hour, day, month.
if i can get any help from you i will be greatful.
you can always mail me in
frnd2love@yahoo.co.uk
prabir
|
|
|
|
|
What bits do you need help with ? What have you already done ? Is this paid work, or homework ( I'm trying to get a feel for what resources you have available to you )
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 )
|
|
|
|
|
thankyou verymuch for your reply sir.
its not a pay project but its an academic project in our university for the completion of my course.
i have got the resources from our college. but am not getting a proper guide for this project.
therefore i would request you to tell me how to proceed in this project.
the time is very limited (30 days in hand)
thank yo once again
prabir
|
|
|
|
|
OK, well, if it's for your course, then your course materials should give you all you need to at least start your project. Google is also bursting with information. By all means, when you get stuck on specific things, ask here, and we'd love to help.
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 )
|
|
|
|
|
I've stored the Image file,But i want to retrive the image files....Pls help me.....
Thanking you
somasundaram G
|
|
|
|