|
Thanks for the pointers - sorted.
|
|
|
|
|
i just want to open sockets and try to communicate with other computer or passing some information to it ...like
message queues
|
|
|
|
|
My answer doesn't change. You're STILL not being specific enough. "Sockets" covers a HUGE range of topics... Get the book. Plain and simple.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi,
i want to insert and place a picture in word doc through VB6 Word automation..? if someone has some idea about it than pls lemme know...
Thanks
D.
|
|
|
|
|
Hi,
Working on a VB6 application. I need to detect whether following are installed or not :
IE6
Media Player
Adobe Acrobat Reader
Shockwave / Flash Player
QuickTime Player
(and other essential plugins for IE)
I need to detect whether they are installed and whether they meet requirements (ie. specific versions).
What would be the best way to do it ? Can it be made to check these during the installation of the app ?
Thanks
Ale
|
|
|
|
|
You'll have to check for registry entries specific to each application. Each manufacturer, and even different product, can store it's version information in different ways.
For example, IE's version can be found at:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer, value name: Version (REG_SZ)
Media Player will be at:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\Setup\Installed Versions, value name: wmp.dll(REG_BINARY)
mecracked wrote:
Can it be made to check these during the installation of the app ?
Sure, it would require that you write a custom installer to do this though.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi, maybe this post alerdy is on this forum, but I need easy answer to my question:
How to create easy Internet Connection (for IE)
what I mean - create a program, what will by clicking on button, open Internet Exploter and visit a website (http://www.google.com/ for example)
|
|
|
|
|
pafell wrote:
but I need easy answer to my question:
The one thing we hate around here is laziness. This has been covered in the forums many, many times. All you have to do is click on Search Comments.
But, all you need to do is use the Process and ProcessStartInfo classes to shell launch the full http:// web address to do this.
Dim startInfo As New ProcessStartInfo("http://www.yahoo.com")
startInfo.UseShellExecute = True
Process.Start( startInfo )
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Is there a way that i can create my own file type (like .txt,.dat,.inf) i can create something like .abc,.123 etc and which cannot be read by any text editor or other software. And can i put somekind of a lock on a file so that it cannot be deleted or moved like windows system files.
|
|
|
|
|
nitin_ten wrote:
Is there a way that i can create my own file type (like .txt,.dat,.inf) i can create something like .abc,.123
Yes. When you double-click the file, it'll launch your application just like any other file, like .TXT files opening in Notepad.
nitin_ten wrote:
which cannot be read by any text editor or other software.
No. Notepad or Wordpad can open ANY file and display whatever it can. Most of it will come out as junk, but if there is text in the file, it'll show up. You CANNOT prevent this at all!
nitin_ten wrote:
And can i put somekind of a lock on a file so that it cannot be deleted or moved like windows system files.
No. Your only recourse is to use NTFS Security to prevent unauthorized users from seeing the files in the first place. Can't see 'em, can't move/delete 'em.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
What about making it a hidden file?
|
|
|
|
|
We can make them hidden but it still is not that secure but if we can make it unreadable and can put some sort of lock, that'll be great. NTFS permission can be applied only on win 2000 and above, what about 98, ME or if OS is on FAT32?
|
|
|
|
|
I see your problem... at least when hiding it, that will keep most users at bay.
You may want to create a simple encryption to slow them down some more.
How big is this file going to be?
Another solution might be to hide it, literally, where the sun don't shine. Move it to a separate folder. Bury it in the crap. Then make it hidden.
|
|
|
|
|
Yeah we can hide and encrypt but what i really want is that it should not be deleted by any other application, only when the associated application is removed then it can be removed. Till then it should not be removed.
|
|
|
|
|
Once again, the only way your going to guarantee that is NTFS security. There is simply no way to stop anything from happening to the files on any other OS. The truth is, if the user is going to mess with the files, it's his fault the application breaks and he has to deal with the consequences. There's only so much you can do to protect the user from him/her self. The same is true for hacking the data. If the users environment is open to this, it's not your fault. There is only so much you can do to protect the data. Beyond that, it's up to the user to supply an environment that is reasonably secure.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
That, Dave, falls under the Murphy's Law of "Design a system that is fool proof and only a fool will use it."
Yes, I have been in IT way too damned long.
The sad part is that in the mainframe world, this kind of security is common place. And it's nearly impossible to break. This comes from 50 years of constant development.
I wish some of those concepts would make their way down to the client/server and web based development environments.
|
|
|
|
|
I wish some of those concepts would make into WinFS, but that's never going happen either!
Security? What an interesting concept!
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Someone once said, "Internet security, isn't."
That about sums up the problem.
|
|
|
|
|
Hy everyone!
I do have a macro on a quit long document (several 100 pages), which searches this document quit often before it is finished. So this could take quit long until it is done. When I do leave Word during the macro is running, I am not able to get back e.g. to have a look when it might be ready or to have a look into what is displayed in the statusbar.
I do show status informations in the status bar. I thought this would avoid Word to appear hung up because of changing the contains, but it didn't. Same problem when the screensaver starts.
What I want to do is the following: Allow to leave the Word window and reenter it at any time, as if I never left it.
Is there any chance to avoid Word to appear hung up when the macro is running and I left the window? Or do I have to wait until the macro is ready to enter the window again? Because I do want to be able to have a look at the statusbar at any time to see the status of the macro and switch windows meanwhile.
I would like to integrate this into my existing VBA for Word macro!
Thanks for any idea!
Stephan.
|
|
|
|
|
Yuo can call DoEvents() every once in a while to let Word process its WM_PAINT events. But, if your code is blocked on a long-running Search statement, this won't do you any good. If your code is blocked, your code is hung and so is Word, waiting for the statement to complete.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hello everyone.
I need to write a standalone application (it cannot be a 'program' driven by MatLab or MapleSoft) that will be able to plot and allow manipulation of points in/on a sphere.
The objective is to create a spherical surface of variable size on which various points can reside, their position specified by X Y Z as follows -
X: angle of point from 'horizontal horizon'
Y: angle of point from 'vertical horizon'
Z: distance of point from the centre of the sphere
(Spherical Coordinates from MathWorld[^])
At this point in time (by the time I'm finished with this I'll probably be a Guru in Binary ), I would give myself a ~6 out of 10 in VB and somewhere very close to 0 in C/C#. Hence, I have no idea how to implement this I've looked at some articles and came to a conclusion that I may need to make use of C# matrices in order to acheive my goal.
However, I want to explore other options before I hit the books. Is there an efficient way of doing the above in VB (maybe a diffirent coordinate system?)? I'll be greatful for any advice in this area, practical or otherwise.
Thanks in advance,
Serge
|
|
|
|
|
You need to use DirectX or OpenGL to do this. I doubt you can use OpenGL in VB, but DirectX now works straight from C#/VB.NET. I've used the DirectShow interface in C#, and it was buggy as hell, but I would expect the 3D stuff to be in much better shape, because that's really what the core of DirectX is for.
Christian
I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer
|
|
|
|
|
I see.
Could you give me a couple of links that could be of any help?
Thanks a lot.
|
|
|
|
|
www.microsoft.com
www.google.com
Christian
I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer
|
|
|
|
|
Christian Graus wrote:
www.microsoft.com
www.google.com
Lol - how helpful ;P
I'll start digging then.
Thanks anyway.
|
|
|
|