|
When I open the admin form from the file menu of the main form then close the admin form and open it again I get a binding error.
Here is the error. Why am I getting the error?
This causes two bindings in the collection to bind to the same property.
Parameter name: binding
|
|
|
|
|
Since none of us have any idea what the admin form and main form are, perhaps you could provide us some more information. What code are you using to open and close these forms?
|
|
|
|
|
There is one thing that we cannot understand in your Situation, is because we dont see your code, and that means we dotn know what you are talking about, if you can show us your code it would be better
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
Hi,
I am trying to read some system config from the registry. The config info is stored as a binary value of type "REG_RESOURCE_LIST".
If I try read this value with o=registrykey.getvalue(), (with o being an object), o will be set to nothing.
I can read a string key from the same group using the same command, and it works. It just always seems to fail on binary keys.
The "GetValueKind" of this key type returns Unknown.
Any idea what I am doing wrong? I've been googling for what seems like all morning, and I cant find a solution.
[Modified to sort out a typo]
|
|
|
|
|
Hi,
the RegistryValueKind Enumeration lists all data kinds supported by .NET, as well as Unknown for
all the other ones. So you're out of luck. I suggest you use P/Invoke and call the Win32 functions
directly (as was needed for all kinds other than REG_SZ before .NET 2.0).
|
|
|
|
|
I was hoping not to have to do that.
Oh hum.
Thanks for the reply - at least it puts my mind at rest that I have not gone crazy... (I am just slowly on my way to being there! )
Thanks.
|
|
|
|
|
You're welcome.
Jasey9 wrote: at least it puts my mind at rest that I have not gone crazy
I did not imply that, nor the opposite.
|
|
|
|
|
Hi,I am using vb.net to create an windows form application.
Does anyone know of any articles/ideas that could help me in adding textboxes or combo boxes to a listview?
Basically what i want to do is edit the data in the listview and it should save once i click out of it.
Thanks
Anoop
|
|
|
|
|
Have you googled or codeprojected? It seems like I've seen hundreds. In .NET 3.+, you can do it also through WPF.
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my homepage Oracle Studios
Discounted or Free Software for Students:
DreamSpark - downloads.channel8.msdn.com
MSDN Academic Alliance - www.msdnaa.com
|
|
|
|
|
yep, i have googled it,
do you have an example in WPF?
thanks
|
|
|
|
|
I want to automatically send an email to customers on a set date. So if it is know in the database that the due date is July 11 2008 then the sql server has a schedule task … and it triggers a asp.net page to be run that sends the customer an email
Can someone please help me with this
Thank You
|
|
|
|
|
Write a vbscript to do what you want and use Windows Task Scheduler to schedule the script.
|
|
|
|
|
Schedule a Bat File
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
Hello everyone,
I'm very new to VB6 and I've been blessed to be the fall-out boy for creating this system that SHOULD connect the application to SSH giving me control using UNIX functions. My question is...how do I make this possible. I'm pretty much clueless about this. Many many thanks for all your suggestions.
Aim small, miss small
|
|
|
|
|
You'll need a 3rd party component to handle the ssh connection. There's one at http://www.ssh-activex.com/[^] that has a free version available. I don't know what the limitations are in the free one.
|
|
|
|
|
Great! Exactly what I was looking for. Many thanks friend
Aim small, miss small
|
|
|
|
|
tatchung wrote: I'm very new to VB6
I feel sorry for you. VB6 has been dead/unsupported by Microsoft since March 2005. You may want to become more familiar with VB.NET/C#, just a friendly suggestion
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Paul Conrad wrote: I feel sorry for you
Indeed...
Paul Conrad wrote: You may want to become more familiar with VB.NET/C#
I'm actually quite familiar (but not near an expert) with .NET framework although management requires me to do this using crappy vb6. This app is actually like a trouble ticketing systems that allows certain users to display records, validate codes etc and provide resolutions. Problem is the records are not really database driven...rather file based using SSH. Yeah I know...problematic either way
Paul Conrad wrote: just a friendly suggestion
Many thanks for the concern. I greatly appreciate it
Aim small, miss small
|
|
|
|
|
tatchung wrote: management requires me to do this using crappy vb6
I really feel sorry for you, then.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Need to retrieve treeNodes during the pageload event. It should be built within for loop.how to write the code to find out which child belongs to which parent . i'm confused Whether sp can be written to get child for the parent or. for loop to be written to solve this problem. suggest me one idea.
spriya
|
|
|
|
|
Do you understnd what you Wrote?, Do you think someone can understand it? when you have a problem and you want to post it in the forum, make sure that you have tried something and post the code of what you have already done , and tell us where you got stuck and we will help you , we cannot do your job for you.
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
Hello all,
I'm trying to help my sister do a simple window form application here for her grocery shop. I'm using Visual Studio .NET 2003 to create a Point Of Sales System for her shop.It is connected with MySQL 5.0 Database. I'm trying to doing a system planning and researching about this coding here.
Anyone can provide me some information or sample how can I detect a parallel receipt printer or barcode printer using VB.NET? I need this Window Form Application to detect the receipt printer,if the receipt printer is not turning on or plug into the workstation,it will prompup and request the user to check it.
Hope someone can help me on this problem. Thanks for reading.
Regards
Drexler
|
|
|
|
|
It is possible to detect if a device is plugged into the LPT port, but not natively though VB.NET.
I have been doing something similar using a free DLL called "IO.DLL", which gives you direct access to the ports required to do what you are wanting.
http://www.geekhideout.com/iodll.shtml[^]
To see if the printer is availiable, you need to query port &h379 (LPT1 Control Port), and I think it is the second topmost bit (&h40) that says if the printer is attached and ready or not.
I cant be much more help than this I'm afraid, but it should have some real good pointers to get you going.
modified on Friday, July 11, 2008 5:31 AM
|
|
|
|
|
Sorry,I still can't figure out how should do this detection for my receipt printer and barcode printer here. Anyone can give me further detail or sample for the above code?
Thanks for reading.
Regards
Drex
|
|
|
|
|
Hi everybody,
i have a "little" problem with this function in my class:
Public bPayLoad() As Byte
Public lCount As Integer
Public Sub New(ByVal b_PayLoad() As Byte)
bPayLoad = b_PayLoad
If Not (b_PayLoad Is Nothing) Then
lCount = bPayLoad.Length
Else
lCount = 0
End If
End Sub
If I create a new object of this class and pass the ByteArray B() to it why does the objects bytearray change when i change B()?
thanks for your help and sorry for my bad english
|
|
|
|