|
Hi Dave,
Thanks for your reply. Well, yes generally that would be the case.
But here, my clients would like to have a smooth presentation in IE rather than face messages like 'this not allowed, that not allowed' in the middle of their presentation (of mostly flash pages). Any ideas ?
mecracked
Dave Kreskowiak wrote:
Changing the security settings is a VERY BAD IDEA! As a Administrator, I can tell you that if your caught changing secuirty settings, I'll uninstall your application in a heartbeat and trash the installation CD's.
|
|
|
|
|
This is something your going to have to take up with the LAN Administrators. If the Local Intranet, or whatever zone this content is coming from, security settings are too strict to allow running plugins, the only course of action you have is to talk to the LAN Administrators and see if they'll relax the security settings for that zone.
If your clients found out that your application modified their security settings, and they happened to get hit by some malware because of it, you'll open yourself up to a HUGE liability lawsuit.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Thanks for the speedy reply Dave.
The app I am working on will be installed on laptops not on the LAN. They will have the presentation material on the laptop (and these needs to be updated/synchronised maybe once a week from a central server - another topic posted about this - how to synchronise folders over the net).
Provided we make it clear to the clients the risks involved, how about can I go to change the settings ? And I'll have to revert back to old settings again once the presentation is over and program is closed.
Dave Kreskowiak wrote:
This is something your going to have to take up with the LAN Administrators. If the Local Intranet, or whatever zone this content is coming from, security settings are too strict to allow running plugins, the only course of action you have is to talk to the LAN Administrators and see if they'll relax the security settings for that zone.
|
|
|
|
|
If you're running the presentation entirely from the local machine, what's the problem? IE will show a sequence of pages, Flash/Shockwave and all, with no problems if it is launched from the local machine. You'll be running under the Local Intranet zone.
I'm still standing by this. You cannot go around changing the security settings in your app. In every corporate and government environment I've been in for the last 10 years, especially on laptops, the security settings are usually set by Group Policy and cannot be changed by the user anyway. You simply cannot rely on this method to let your app work.
Again, you have to let the LAN Admins, or whoever is responsible for security on the laptop, make the appropriate changes to security. They then bear the entire brunt of opening security holes, not you.
Besides, if you app crashes in the middle of the presentation, how are you going to put the security back the way it was?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Is it possible to install vb6 and .net in same computer?
|
|
|
|
|
I have seen u manytimes in discusiion.i think u wanna play with guys.what u ask.didin't u know that its possible,dont waste timiming ask usefull think ,if u really u dont know try to do it and have problem come to discussion
Ishak
|
|
|
|
|
|
Thank you for your reply (must be a bad day?).
|
|
|
|
|
Yes. It is, as i'm developing in both with my single OS.
|
|
|
|
|
Make sure you install Visual Baisc 6 (or Visual Studio 6) FIRST! Then, patch it up with Service Pack 5 or better. Then install Visual Studio .NET! If you don't do this, you'll screw up the VS.NET installation a bit. But, this is covered in the ReadMe's for VS.NET.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Can you tell me how many rows datagrid can contain ! Pls
Can you tell me how many tables dataset can contain ! Pls
can you tell me how many rows DataTable can contain ! Pls
|
|
|
|
|
Theoretically it's an infinite number, I believe.
Theoretically it's an infinite number, I believe.
Theoretically it's an infinite number, I believe.
Of course this will all depend on the resources available to your computer. If you run out of memory, your variable obviously isn't going to get any bigger...
Why do you ask?
_____________________
Don't take out the Magic Pen,
Don't draw on the Infinity Board
- Neil Young
|
|
|
|
|
I have built a program by Vb.net. It collect all information in a table of Oracle Database into dataset and datatable and datagrid. So I can write this information into foxpro file. If dataset, datagrid and datatable can not contain all information. The foxpro file will be missed data. This tables in my database contains a lots of rows. Now, It contains about some milions rows. But in the future, I thinks it will become bigger. This records are call data records of CDMA.
|
|
|
|
|
Well I'm pretty sure that there's no theoretical limit to the sizes of any of these structures, it just depends on how the rest of your application can handle the sheer processing requirements.
Anyone else know more?
Regards,
Kutz
_____________________
Don't take out the Magic Pen,
Don't draw on the Infinity Board
- Neil Young
|
|
|
|
|
Anyway, thanks you alots. If you know more, pls, tell me.
I am looking forward to receiving nice information from you !
|
|
|
|
|
Well, a datagrid is simply a container to show the contents of a dataset, so the limit will be the dataset.
And I don't think datasets have a theoretical size limit.
_____________________
Don't take out the Magic Pen,
Don't draw on the Infinity Board
- Neil Young
|
|
|
|
|
In theory, there is no limit, other than available memory and the size of an index pointer.
But, you don't have to read in the entire datatable all at once. If you use DataReader's, you can read each record, one at time and don't have to care about the size of the database.
Retrieving Data Using the DataReader[^]
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Thanks you. I thinks that a good idea.
|
|
|
|
|
Greetings,
As indicated in the title I am trying to work out how to raise a keypress event in code, something I cannot find an article or tutorial on anywhere!!
Which, to me, would be counter-inuitive as it would seem to be incredibly simple.
Any help would be greatly appreciated.
Regards,
Kutz
_____________________
Don't take out the Magic Pen,
Don't draw on the Infinity Board
- Neil Young
|
|
|
|
|
It's not counter-intuitive, really. If you have to that you need to execute from two of more different functions/methods, move that code to it's own function/method and call it from wherever you need with whatever parameters you need. It's much easier than trying to figure out how to create event parameters from scratch.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Sorry mate, but your comment doesn't help me at all. I found it a little hard to understand actually.
It's not about catching or handling an event, but simulating a user's keytouch. This is because there is no way to open a dateTimePicker's calendar dropdown from code (or at least none that I can find) so in order to make it appear, you could raise a keypress event which would then be automatically handled by the control and make the calendar appear.
Is this any clearer?
_____________________
Don't take out the Magic Pen,
Don't draw on the Infinity Board
- Neil Young
|
|
|
|
|
Don't know if this is the best way to do what you want, but...
Find the control window handle using the FindWindowEx API. Then use the SendMessage API to send it a message that simulates a left button mouse click.
The tricky part is that a DateTimePicker behaves differently depending on where you click on it. But the control itself only exposes a single hwnd for the entire control.
So you will have to figure out the correct message parameters to make it think you clicked on the drop button instead of the in the date text area.
Run an application that has a DTPicker control, then use the Spy++ tool to log WM_USER and all mouse related messages, and study the results. Then it is matter of tinkering with the message parameters until you find what works.
Good Luck ...
Robert
|
|
|
|
|
Cheers for your help, Robert.
I'm not 100% on how to use FindWindowEx just yet, but a little net research will probably clear that up. I get the general idea, but how to use some of the parameters will take a bit more thinking.
Cheers mate,
kutz
_____________________
Don't take out the Magic Pen,
Don't draw on the Infinity Board
- Neil Young
|
|
|
|
|
Hi...
I am a new user to VB.net so bear with me. When I send the focus to a control, the cursor then appears (flashing) in the control. Perfect! However, the mouse pointer also disappears when this happens. Is there a way using code to have the mouse pointer re-appear (Get focus?) prior to the control losing focus? I have tried to reposition the mouse but it does not appear to work. Must I...
Repaint the screen?
Redraw the mouse?
Thanks for the help
Pat
|
|
|
|
|
The mouse doesn't disappear for me. Could this be a setting in your Mouse Control Panel?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|