|
|
hi everybody i have a listview and i want that i select a item in the listview and then a clicked a button it swap with its upper item means if i cselect fourth item and click button then 4th and 3rd itrm interxchange,If anybody knows please help me,
Thanks
|
|
|
|
|
I am just wonder if I can know if a file has been copied from a while.
I mean we can trace if a file was changed or renamed or deleted ... but can we know if the file has been copied
Tamimi - Code
|
|
|
|
|
hi everybody
I want to add a button as one of the column in datagrid.if anybody know how to add button in datagrid please help me its urgent
Thanks
Thomas
|
|
|
|
|
Hi,
This Ravi.In my application I'm using a VB6.0 Dll and the application is working properly.The problem is when i am copying the application to another system the Dlls are not found in that.here again i'm putting the dlls in System32 folder and getting the dll.can any one give the solution of how to copy my application to another system without again referencing to the dll.Thank you
-regards
ravi
G Ravi kumar Reddy
Software Engineer
Multywave Technologies
|
|
|
|
|
Is there anyway you can write functions in DLL's in VB that can be declared using the Declare keyword or is there any way to add references to DLL's using code. If you can please explain how to do either, I'm completely useless when it comes to DLL's.
|
|
|
|
|
How can we copy a particular file from one system to another system which is connected through network using VB.net.
I would like to get the source code for this query. Somebody please help me
|
|
|
|
|
source = “C:\VBMaterial\Examples\Files.txt”
destination = “D:\MasteringVB\Files.txt”
FileCopy(source, destination)
hope this helps you
Regards
|
|
|
|
|
Hi all - I have a multi line text box with scroll bars (about 500 records) and I display them in a one line text box such that I see just the one line at a time. This works ok but I want to display the last record rather than the first record so I scroll backward as the last record will usually be the one needed.
Is there a vb control that will do this eg tbDisplay.text.last or something similar?
Regards
|
|
|
|
|
This is easy to do with a listbox and its index properties. Is there a reason you are not using a listbox?
|
|
|
|
|
No not really - thanks for that, I will try a listbox.
|
|
|
|
|
Visual Studio 2005 Professional Edition:
My app runs fine on my development computer, but, bombs out on the 3 other computers that I installed it on (all 3 were running Windows XP Pro). It installs OK, but, upon execution, it immediately aborts with a System.InvalidOperationException.
I inserted a MsgBox(" " command at the very beginning of the Form1_Load Subroutine, so I know that the program itself never executes.
The installs were all from CD.
Error signature
EventType: clr20r3 P1 : ortholabrx.exe P2 :1.0.0.0 P3: 447753H
P4 : ortholabrx P5:1.0.0.0 P6: 47753f1 P7 :1 f P8: c6
P9 : system.invalidoperationexception
========================================================
The following information about your process will be reported:
Exception Information
Code: Oxe0434f4d Flags: 0x00000001
Record: 0x0000000000000000 Address: Ox000000007c81eb33
System Information
Windows NT 5.I Build: 2600
CPU Vendor Code: 756E6547 - 49656E69 - 6C65746E
CPU Version: 00000681 CPU Feature Code: Q383F9FF
Module 1
OrthoLabRx.exe
Image Ease: 0x00400000 Image Size: 0x00000000
Checksum: 0x00000000 Time Stamp: Ox447753fl
|
|
|
|
|
Hey guys. I'm using Darryl Preen's example of a simple tabbed mdi project and it looks great, but I would like to know if someone can help me modify it to meet my needs. I'm new to programming, so if anyone can help please be specific in your explanations.
I need to only allow one instance of a tab at a time. Let's say I have a form called frmINVList and it is accessible through the menustrip. I don't want to allow more than one instance of this form at any given time. I accomplished this through declaring the form outside any events like this: Dim INVQ as new frmINVList and in the click event of the menustrip I left the code intact to show the form inside the MDI parent. The problem is after the tab is closed and the user tries to open the form again, it crashes. I get the error: ObjectDisposedException was Unhandled and in the details it says Cannot access a disposed object.
Can someone help me modify this code to allow the user to close the form and then open it again?
Thanks,
Andy
Here's the link to the project:
http://www.codeproject.com/dotnet/Tabbed_MDI.asp[^]
|
|
|
|
|
dear all,
please send me any code snippets or tutorials which describe how to generate reports using microsoft reporting service within vb express edition 2005? Thanks ...
|
|
|
|
|
Have you looked up articles on how to do this using the full Visual Studio? I would imagine it's fairly similar with the Express edition.
I've only in the last week or two used Reporting Services myself, but that was with SQL Server 2000, and there have been many changes.
Try staring here...
http://msdn2.microsoft.com/en-us/library/ms159106(SQL.90).aspx[^]
Kevin
|
|
|
|
|
Howdy,
How do I get this working?
Public Function GetHwnd() As System.IntPtr Implements IPanelWindow.GetHwnd
Return CType(textOutput.GetHwnd(), System.IntPtr)
End Function
textOutput.GetHwnd() returns an Integer.
I get the following error: Value of type 'Integer' cannot be converted to 'System.IntPtr'.
Thanks!
Brad
|
|
|
|
|
Somthing like this I suppose, or
You could always ask desktopsidebars tech support:
support@desktopsidebar.com
Public Function GetHwnd() As System.IntPtr Implements IPanelWindow.GetHwnd
Return New IntPtr(textOutput.GetHwnd().ToInt32)
End Function
Hope that helps.
progload
|
|
|
|
|
progload,
Thanks for the idea. Didn't work unfortunately.
Fortunately, another message board came through with what appears to work:
Return New System.IntPtr(textOutput.GetHwnd())
The Desktop Sidebar guys didn't have the right syntax either - they are C# guys. But I will post the solution to their message boards as well.
Thanks,
Brad
- Brad
|
|
|
|
|
Hey ,
please i work on a sql server DB & i needed to store a DateTime field from ma app. vb.net but the problem is that i want just to store time format
but the field in sql montioned as datetime when i store the value transfered to the DB is datetime not just time , it takes the time i gave it plus the date.now i mean date of today can you tell me how to solve this please ??
thank you
try to be good if you can't be the best
|
|
|
|
|
I have not tested this code but I am sure that if datetime.now.tostring("dd/MM/yyyy") will work then datetime.now.tostring("h:mm:ss tt") will also work.
Rizwan Bashir
|
|
|
|
|
There is no data type in SQL Server for storing time without a date.
When you store the time in the database it has no format at all. It's just stored as a number representing the number of days since a specific date.
Store the date and time in the database, and when you retrieve the value you can format it without the date.
---
b { font-weight: normal; }
|
|
|
|
|
hi, I have a registration form in an asp project. the user will enter his info and the form checks if the username he entered has already been signed by another user. if not then he can login in successfully. now how can i see if the username is used. and if not used in database how can i pass the name and surname and username to the database and save it there pls?? this is in asp.net pls
can someone help me pls?? 10x alot!!
Adrian De Battista: .Net Programmer, Java Programmer and Web Designer.
|
|
|
|
|
Im slightly new to vb.net and i was wondering if someone would help me
Loop until a space or Line Feed is found in a text box
|
|
|
|
|
use
vbcrlf=linefeed
or put space there " "
strings.instr(stringvalue,vbcrlf,textcompare)
Rizwan Bashir
|
|
|
|
|
Hi ,
well , i have a client/server application
i'm doing an application for a hotel , the database will be in the server & the app. in the client post
so now i have done setup of ma app. but i want to integrate something that allows me to transfert the datafiles to the server
first i wanna know how to integrate my datafiles on my setup , like that once the yser install the application the datafiles take road to their root
i hope you understand me
even if it is no possibility to do it in an application client/server can you tell me how to do it in local ??
ahh , i work with SQL Server 2000 & VS 2003
thank you very much
try to be good if you can't be the best
|
|
|
|