|
Sorry about that Dave. The 'changing security setting of IE' was also for the same app - the webbrowser control has the direct effect of IE security settings - does it ?
Also, as this is the first time I'm using this control, there's a lot I don't know. It is an instance of IE within VB app - is it ? So I beleive everything applicable/available to IE applies to the webbrowser control ? And IE is required to be installed - is it ? What if Opera or Firefox is the primary browser ?
So fundamentally, the question comes to what is the relationship between IE (or any browser on the system) and the Webbrowser control ? Dependencies ?
|
|
|
|
|
Internet Explorer is pretty much a wrapper around the WebBrowser control. Most of the settings you see in IE, especially the security settings are common to ALL microsoft controls and classes that depend on WinHTTP.
Opera and Firefox don't use WinHTTP at all, so the security settings in IE won't affect them. If you're using the WebBrowser control, you won't be using the controls for FireFox or Opera. I don't use either of them, so I can't tell you if they have their own WebBrowser equivilent controls.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I'm too used to using VB 6 before and I've just migrated to VB.Net. I have 2 variables in mind that is to be used throughout the application. Does the global variable thing still applies here or not? If it does, the syntax global is no longer a valid command here. Where and how should I declare a global variable in VB.Net?
|
|
|
|
|
There are no such things a global variables in the CLR. What you can do is create a Public Class with your public "global" variables in it defined as Shared. Then, when you need to get at this data, simply refer to the variable like globals.myGlobalData .
Public Class globals
Public Shared myString As String
End Class
Somewhere in Form1:
globals.myString = "Some string..."
Somewhere else in your code:
TextBox1.Text = globals.myString
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I am using a software to protect my files and folders. What that software actually do is it makes those files and folders invisible, not just window invisible which can still be viewed but totally invisible. Even after selecting show hidden files and folders they are not visible. Is it possiable to do that through vb.net.
|
|
|
|
|
Yeah, it's possible. You'd be writing a file system extension though. Make sure you're COMPLETELY familiar with NTFS internals and COM Interop.
What the software is doing is something akin to WinZIP and a pagefile. The files are actually copied into a file, optionally with encryption and compression, on the drive, buried deep in the filesystem somewhere. The software you're using more than likely has something below it's Program Files folder.
You're software would be a manager for this mini-filesystem, it's drive being completely simulated in this file, and the interface back to NTFS. You would probably be attached to the filesystem through a mountpoint.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Honestly speaking i don't have that much no-how about NTFS internals, and the software i am using is also being used on ME and 98 so my guess is that it is not using NTFS internals and is it possiable to do it in .net
|
|
|
|
|
That doesn't change anything but the file system being used. You still have to know the file system internals to get this to work, whether it's NTFS or FAT. You're still writing an extension to it. And yes, it is possible to do in .NET, but you'll be heavy in COM Interop. There is no pure .NET way to do this since Windows is still based in COM.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Yeah u are write. i have gone through their documentation and they have mentioned that they are sing kernel. I am not that heavy in Com interop so if u can through some lite on it. Thanxs
|
|
|
|
|
COM Interop is a HUGE subject. Start by reading Interoperating with Unmanaged Code[^] on MSDN.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
|
Currently I have a VB webservice application that reads from a database and outputs information to a calendar. When I build this project on my local machine it runs just fine, however as soon as I post to my webserver. I receive the following error message.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
Source Error:
Line 43: by Microsoft that offers a single logon and core profile services for member sites.
Line 44: -->
Line 45: <authentication mode="Windows">
Line 46:
|
|
|
|
|
Your question would be better handled in the ASP.NET Forum[^] since that is the technology your using. This is true regardless of the language your using...
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I've moved it over to the ASP.NET forum, however do you have any suggestions for this problem. Thanks for letting me know where to put my question for optimal response.
|
|
|
|
|
VB.NET newbie wrote:
I've moved it over to the ASP.NET forum, however do you have any suggestions for this problem.
Why do you think I said "move it over there"?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I am working on windows forms project and ran into a problem. I created 2 groupboxes on top of each other, A and B. When the page is loaded for the first time, A will be visible and B is invisible. Then when I click a button in A, A will be invisible and B will be visible. The problem is that B will not be visible after I click the button ( I have already set B.visible = true). I think A treats B as its child, so when A is invisible B is also invisible. The two group boxes need to be on top of each other, so the button will act like "Back" button in web browser.
Can anyone help me please ?
|
|
|
|
|
You might want to try calling the GroupBox B .BringToFront() method to get it to appear on top of A.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
also ya if groupbox2 is a child of group 1 it will not work. try doing this
place groupbox1on the form place all the controls on it. then place groupbox2 on the form some where else place the controls on it. move it over the groupbox 1.
now in groupbox1 button write this
groupbox1.visible=false
groupbox2.visible=true
and in groupbox2 button write this
groupbox1.visible=true
groupbox2.visible=false
hopefully it will work
Computer... Programming... What That
|
|
|
|
|
I have a main page shows all the results in the datagrid. and there is an Add button to pop up another form to add data to it. when I finish adding data and close the form, the main form database doesn't update the data has been added or edited. How can I ask the main form to reload the lastest data when the database has been changed? Is there any way to do it? Thanks!
Lisa
|
|
|
|
|
You can add a "Reload" button or menu option and then write the code to query the database and reload your datagrid.
|
|
|
|
|
is the reload button has to be in the same form as the datagrid? can I ask the other form when the Add buton click, then to reload main form's datagrid? what's the code for the datagrid reload? is it datagril.reload()?
Lisa
|
|
|
|
|
Sorry, I don't know that much about datagrids but I assume that when the datagrid first appears it is populated with the info from database as it is at that moment.
You didn't say whether you are using VB or VB.NET. For VB.NET if you want the updated information, you have to clear and fill the dataSet again in order for the new information to show up in the datagrid. Whether it would work from another form, you'll have to try it and see.
For VB I assume you would do whatever you did to populate the datagrid originally.
|
|
|
|
|
I have a main page shows all the results in the datagrid. and there is an Add button to pop up another form to add data to it. when I finish adding data and close the form, the main form database doesn't update the data has been added or edited. How can I ask the main form to reload the lastest data when the database has been changed? Is there any way to do it? Thanks!
|
|
|
|
|
I have a main page shows all the results in the datagrid. and there is an Add button to pop up another form to add data to it. when I finish adding data and close the form, the main form database doesn't update the data has been added or edited. How can I ask the main form to reload the lastest data when the database has been changed? Is there any way to do it? Thanks!
Mohammed Amer
|
|
|
|
|
recall the function after the data add.
Lisa
-- modified at 8:51 Monday 8th May, 2006
|
|
|
|