|
Hello all,
Is there a progress bar for .NET that has an unsigned 64-bit maximum value? The number of items I'm processing can easily exceed 32-bits, but the Windows Forms progress bar only accepts a standard int.
Thanks,
Dybs
|
|
|
|
|
Why don't you set the maximum to 100 and set the integer percentage value when it has changed? Setting the value a billion times will slow down your application anyway, and users won't see a difference.
|
|
|
|
|
Good point. We had created a form that has a progress window and a display of the number of items being processed, and we had just been using the ProgressBar.Maximum property for that value. But yes, your suggestion would be a better design choice.
Thanks,
Dybs
|
|
|
|
|
I am Using Visual c++ 2005
I need to make ab choice of all my Printing options
I have a Problem how to fill into my comBobox All Orientation Parper
I try This
this->paperorientation->DataSource = System::Enum::GetValues(GetType(PaperOrientation))
I have a message CrystalDecisions::Shared::PaperOrientation: Illegal use of this type as an expression.
I do not what to do
Can you help me
I need to fill my Paper Orientation, PAper Size, Paper Duplex ComboBoxes
Help needed
|
|
|
|
|
Does anyone know a good way to make a control draw and work outside the bounds of a form in vb.net? I am trying to make a control that works like a combobox in that it drops down, but I need the part that drops down to be a datagridview. If the datagridview dropdown is taller than the form has room for, I need it to go past the edge of the form, just like a combobox dropdown.
|
|
|
|
|
You can put the datagridview to a separate form without borders and position the form under the "combobox". When form looses focus, you close the form so the "combo" closes.
Hope this helps,
Mika
|
|
|
|
|
Thats the only thing I could think to do as well. It seems there has got to be a different, cleaner way to do it, because combobox/menu dropdowns can do it. I guess for all I know thats how combobox and menu dropdowns work too.
Anyway, this is probably what I'll end up doing. Thank you for your help.
|
|
|
|
|
You're welcome.
It's not neccessarily a bad way at all. I don't know today's implementation for example in Vista which is based on WPF but if I remember correctly, originally in Windows combobox was constructed using:
- textbox (editable or noneditable)
- button on the right side of the text box
- listbox placed in a separate window
|
|
|
|
|
Hi All,
I have done a windows application which is running very fine. and I made a windows service which is also running fine.
Now my windows service is on system A.
Now my windows application is on system B.
From system A through windows service I have to invoke the windows application on system B which the form consisoting in it.
Right Now Iam able to invoke the process(windows application)which is on system B from windows service which is on on system A.
But the form/pop-up is not opening in system B. but Iam able to see the windows app process in Task manager of system B.
Now how to show form/pop-up of winodws app in system B where it is invoked by system A.
Thanks
Kinldy help me...
|
|
|
|
|
You can't do this. Starting an interactive process remotely is not allowed by Security, and for VERY good reasons.
|
|
|
|
|
It's amazing how some people just don't think of the security ramifications when asking these kind of questions.
"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
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Dave comment is important, but you may want to play with the interact with Desktop option of your service.
-- modified
- not sure if it will work in a remote scenario, but it is worth trying it out.
|
|
|
|
|
It still won't launch an app on a remote machine so the user can see it.
|
|
|
|
|
i just dont know yet how you did it.but in case you were running/invoking the windows application from onStart()method of the windows service,use the MMConsole,navigate to services,look for the name of your windows service->properties,logon tab,check the checkbox--allow service to interact with Desktop.ope it works
was wondering if you culd help with your code for this application(both winform and winservice)
|
|
|
|
|
how can i include animations in Visual Studio .net2003(GUI).help me in this regard
|
|
|
|
|
hrmm, this is a little open-ended. What type of animation are you referring to? Does the animation relate to events in the application? Need more info to advise.
|
|
|
|
|
You can use timers and then invalidate the form with the new graphic afterwards.
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 Blog
|
|
|
|
|
Hi
My company has licensed Dotfuscator pro, so we have to obfuscate our releases using it. However, after a couple of weeks of using it, I can say it's a piece of ...(you know what). There is no reliable control about obfuscating and removing processes, tool hangs up itself or crashes VS. There is even no validation of assembly after obfuscation, which can result in some strange errors in releases.
I have seen that there are many obfuscators on the market right now, but have no time to evaluate all of them.
So, please - could anyone recommend something?
Regards
H.
ps: What I really need is obfuscation, linkng and removing unneeded stuff in .NET 2.0 winforms apps and services, with nHibernate layer
thanx
H.
|
|
|
|
|
I've looked at Skater .NET Obfuscator by RustemSoft in the past, and it works well. I've had it crash Reflector when trying to pry at my obfuscated code.
"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
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Father class how to use the special sub-category type (such as the sub-class form TableAdapter of a table), the current idea is traversal all the things on the form(such as traversing all controls on the sub-form), if found what I need, I want to transform its type into I want. But now what trouble me is i could not get the type neither trying to change the object into the type I needed nor using reflection to get the type. Thanks a lot.
Code is as follows:
private void findcontrol(Control.ControlCollection controls)
{
foreach (Control ctrl in controls)
{
if (ctrl.GetType().Name == "XXTableAdapter")
{
}
findcontrol(ctrl.Controls);
}
}
|
|
|
|
|
You posted this same vague question several times, please don't do that
"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
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
sorry,because i don`t know which part this question really belongs to.
|
|
|
|
|
I've seen stuff out there that embed lists and stuff onto your desktop and I was wondering how to do that in .net. Has anybody done that before?
|
|
|
|
|
I don't quite know what you want to achieve. The XP desktop is just a folder.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
What's the best way to give a .NET app a GUI that is cross-platform for PC and Mac? Mono sounded like the easiest solution, but its Windows.Forms implementation turned out to not work well on OS X, so I'm back to square one.
|
|
|
|