|
I've never had to get into that topic before.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hello..
Can anybody tell me how to give readonly access to some of the rows in datagrid while leaving others as non-readonly. I have binded a dataset with the datagrid.
Plz reply urgently
Take care
|
|
|
|
|
The idea is....
When the cell gets focus... depending on the conditions (in your case - rowNum) you can set the datarow column's ReadOnly property accordingly
<br />
Private Sub dg_RowChanged(ByVal sender As System.Object, ByVal e As System.EventArgs)<br />
Try<br />
Me.Cursor = System.Windows.Forms.Cursors.WaitCursor<br />
idCol.ReadOnly = True<br />
If "condition" Then<br />
idCol.ReadOnly = False<br />
End If<br />
Catch ex As Exception<br />
MessageHandler.HandleError(ex)<br />
Finally<br />
Me.Cursor = System.Windows.Forms.Cursors.Default<br />
End Try<br />
End Sub<br />
P.S. idCol - will be a column which will be made readOnly in this case
"He that is good with a hammer tends to think everything is a nail." - Abraham Maslow
|
|
|
|
|
vb.net 2003
Crystal rept 9
I make a package using merge modules
and follow the crystal report rules.
the package install in win98 is not working.
Got the error msg given below. The problem is
Crystal report viewer. But I use microsoft viewer
have no problem in win98.How can I solve this problem.
(I installed framework everything)
WINDOWSAPPLICATION13.EXE - Common Language Runtime Debugging Services
Application has generated an exception that could not be handled.
Process id=0xfffc886b (-227221), Thread id=0xfffc7cb3 (-230221).
Click OK to terminate the application.
Click CANCEL to debug the application.
Microsoft (R) Common Language Runtime Test Debugger Shell Version 1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
(cordbg) a 0xffe3366b
Process -1886613/0xffe3366b created.
Warning: couldn't load symbols for c:\windows\microsoft.net\framework\v1.1.4322\
mscorlib.dll
Warning: couldn't load symbols for C:\PROGRAM FILES\DEFAULT COMPANY NAME\SETUP9\
WINDOWSAPPLICATION13.EXE
Warning: couldn't load symbols for c:\windows\assembly\gac\system.windows.forms\
1.0.5000.0__b77a5c561934e089\system.windows.forms.dll
Warning: couldn't load symbols for c:\windows\assembly\gac\system\1.0.5000.0__b7
7a5c561934e089\system.dll
Warning: couldn't load symbols for c:\windows\assembly\gac\system.drawing\1.0.50
00.0__b03f5f7f11d50a3a\system.drawing.dll
Warning: couldn't load symbols for c:\program files\default company name\setup9\
axinterop.crviewer9lib.dll
00.0__b03f5f7f11d50a3a\system.drawing.dll
Warning: couldn't load symbols for c:\program files\default company name\setup9\
axinterop.crviewer9lib.dll
[thread 0xfffdf187] Thread created.
Unable to determine existence of prolog, if any
[thread 0xffe2590f] Thread created.
[thread 0xfffdf187] Unhandled exception generated: (0x04fd3344) <system.runtime.
interopservices.comexception>
_className=<null>
_exceptionMethod=<null>
_exceptionMethodString=<null>
_message=(0x04fd3448) "Class not registered"
_innerException=<null>
_helpURL=<null>
_stackTrace=(0x04fd34c0) array with dims=[120]
_stackTraceString=<null>
_remoteStackTraceString=<null>
_remoteStackIndex=0x00000000
_HResult=0x80040154
_source=<null>
_xptrs=0x00000000
_xcode=0xe0434f4d
[0099] mov ecx,esi
(cordbg)
anybody help me
Continue...
|
|
|
|
|
put the cd key in the license.msm merge module file and compile the project for deployment.
|
|
|
|
|
Hello. I have a homework assignment where we have a status bar which value comes from a percentage of "done" work. Don't worry, you're not doing the assignment for me. Already got the formula set up and it works, but would like to have a percentage along with the progress bar's value. This isn't part of the assignment, but I would like to add it to make a little more professional. I noticed there is a property .text. No text actually shows up. Is this possible?
|
|
|
|
|
Hello!
To show the current value of progress bar you can use the property VALUE of progress bar like,
Var=ProgressBar1.Value
Now you can add up a Timer and on each timer tick, update the status bar with the variable 'Var'.
_mubashir
|
|
|
|
|
Is it possible to have text show up in the progress bar?
Thanks for the reply!
|
|
|
|
|
Not with the intrinsic Progress Bar control.
You can create your own progress bar that you fill in and draw the text using your own painting algorithm.
This was easy in VB6, in VB.NET, not so much.
|
|
|
|
|
I'm a newbie, how would I go about creating my own?
|
|
|
|
|
You'll have to creat your own ProgressBar class, inheriting from ProgressBar. Then you'll override the OnPaint event and draw the progressbar and text yourself.
But, if you go through this, consider that you might go too far and your prof will suspect you didn't write the code. Have you even come close to covering inheriting from other classes? Have you covered overrides? Have you covered drawing your own controls?
Yeah, this stuff might get you extra credit, but it's a bunch of work for a little credit.
I only say this, because in a class I took, I got accused of not writing the code myself. It turned into a huge mess with accusations of plagerism. I was able to wiggle my way out of it by having the prof give me a different assignment and I wrote it right in front of him.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Ok, not just wanting to do it for extra points. It would be nice if I could get it done in time to do so. It's actually an application I could use in everyday stuff and would like to have it for that too. But I'll give it the good old try and if I don't get it, oh well. Thanks!
|
|
|
|
|
Hmm....
I cant find any property of progress bar to display text...
but you can place the progress bar in a separate form and place a label on top of it and update the label text on timer tick with the desired text...
Remember you should explicitly update the text...
_mubashir
|
|
|
|
|
How to send and recive file with winsocket???
I try end get error the socket is not open or connection not established!!!
But HOST and Clien are connected...!
|
|
|
|
|
Without seeing any of your code, it's impossible to tell you what you'r doing wrong. The description you've given is too vague to be of any use in troubleshooting your problem.
How are you trying to transfer this file? How is this connection being made? What does the client code for this look like? The server code?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Im intrested for some large FAQ or Help file about Winsocket?
Some link ....i try with google but nothing usefull not found so if sombody has sam good tutorial ....To send or link to download....
Tnx and sory about missundrstend.
|
|
|
|
|
I typed vb6 winsock tutorial[^] into Google and came up with dozens of useful tutorials on the subject.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I want to be able to open my application from Windows Explorer by right clicking on a file and selecting Open With and the name of my application.
How do I get my application to open the selected file?
Thanks
|
|
|
|
|
How do I create a realtime workstation map statistic view? Thanks if you can show me how to....
|
|
|
|
|
kevinator05 wrote:
a realtime workstation map statistic view
And that would be a ________?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
embed a office workstations map when everytime they log in. It will show the id name of that workstations or agent id...I'm trying to create an ActiveX Control connect to SQL server...
|
|
|
|
|
Since Windows doesn't track who logs in to what workstation and each Windows user can login, or I should say connect, to many Windows machines at the same time, this will be an inaccurate map.
But, for the most part, people only login to the workstation and attach to a few servers. You would have to have a component (Windows Service) running on every workstation to record login and logout events and what the user ID is. This service would have to report to a center server component that maintains a database of currently logged in users and what machine they're on. This is the easy part.
The hard part is showing the map and maintaining the datastore behind it. You'll need to write a small control that represents a workstation and displays its status, name and user ID that's logged in. There will also have to be a manager application that shows your map, creates and places controls for each workstation, and communicates with the central server to get each workstations status. The server could also log each change in status to another table in its database.
It would probably be a good idea to impliment a subscription service on the server that this manager application uses to get notifications of status changes from the server instead of the manager polling the server every some-odd seconds to get every workstation status. This is because logins/logouts don't occur often and constantly polling a server for things that don't change much is just a waste of resources and bandwidth.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I'm designing in VB 6.0 a program specifically intended to be placed on PDA's in the future. I think I need to use AppForge to make this easy but I haven't even installed AppForge on my PC yet, so maybe you AppForge users will know another approach to this... Anyway, I need some ideas on ways to implement an activation key or some sort of registration that will prohibit the end user of the software from being able to simply make a copy or 'beam' it to another PDA. I've got a EULA at the beginning which makes a registry entry if the user doesn't want to see it again (after he agrees to it first). Is there a simple solution there that I'm not thinking of?
Suggestions?
Thanks
Will Wingfield
|
|
|
|
|
Nope. Welcome to the world of copy protection. There is no easy solution to this at all. No matter what you, there will be a way around it.
You just have to make the copy protection so elaborate as to not make it obvious where the key is stored, either in the registry or diguised in a file somewhere.
The problem is, there are utilities out there that make it easy to trace what's going on in the File System and Registry.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
The registry in not transferred over, but there's nothing stopping the user from just searching the Registry and exporting your key to a file, copying that over to the new PDA and importing it into the Registry.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|