|
You'll have to include the dotnetfx.exe setup on the distribution media (CD, DVD, what have you). Using the Express Editions, you don't have the options available to add the .NET Framework into the installation.
|
|
|
|
|
I am using a cd. Is there any help available online in using this method?
Regards
McGann
|
|
|
|
|
A CD?? Then all you have to do is put the dotnetfx.exe installation on the same CD. Run the dotnetfx.exe setup first, then run your app's installation.
The method I mentioned only work with the full versions of Visual Studio, and it's as simple as turning on a prerequisite option in the Setup project.
|
|
|
|
|
Hello every one
I want to know ow can i
- Find the dimensions of a image
- Size of Image
without actually opening it in a picture bos
My objective is
- I have a application in Vb.net where i let the user select a JPEG file and upload it in a DB
- Now if the image is too big in size and dimensions then it takes a good time in retrieving it from the DB.
What my idea is
- Reduce the picture dimension if it is too big for the application use
- Reduce the size (if possible) by reducing the picture quality if the size is still too big after reducing the dimensions
Regards
Nishkarsh
|
|
|
|
|
Load it into a Bitmap object. You don't need a PictureBox at all. Once you have it in a Bitmap object, there are Width and Height properties you can look at. To get the file size, you'd have to check the size from the streamed number of bytes. There is no size property in the Bitmap object.
|
|
|
|
|
--> well there is no forum for Win XP. And i also posted this question in Vista forum but no answer. so thats why i am posting this question here:
--> How will i change the background image in the explorer (e.g; when open the C drive)?
J A Nasir K
|
|
|
|
|
And you're not going to get an answer here either because your question has nothing to do with VB.NET or the .NET Framework. Try the General Discussions forum.
Besides, you only waited about 20 minutes in the Vista forum before deciding that was too long to wait for an answer.
|
|
|
|
|
Where did you get those fancy arrows from?
"I love deadlines. I like the whooshing sound they make as they fly by." (DNA)
|
|
|
|
|
Is there a way of editing the configuration of the standard windows screensaver "3D Text" using VB/C# code?
|
|
|
|
|
You have to modify the registry entires under HKEY_CURRENT_USER\Software\Microsoft\Screensavers\Text3D. You just use the normal Registry classes in the .NET Framework to do this.
|
|
|
|
|
Hi Friends,
I am using MaskEd control to get From Time and To Time.
I have set the Mask property to "##:##"
After given from time and to time , I need to find the difference between to time and from time...
But it is not allowing since it is string...So can anyone pls..tell me..how can i do that...
or how to convert string to integer.....
Please Help.
Thanks in Advance,
Regards
|
|
|
|
|
I think you're mistaken in what you want the masked text box to do.
int.TryParse is how you work out if a string is an int, and convert it.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi,
How to store and show images from the access database to datagridview.I am using VB.NET 2005.
can anyone suggest solution for this.
|
|
|
|
|
Took about 1 minute on Google ^ to see how to store and retrieve images from access, now you see if you can use it for putting them into a datagridview.
Google is one of the greatest programming aids around, try it!
Bob
Ashfield Consultants Ltd
|
|
|
|
|
|
Hi Hitesh,
Please the following code snippet.
--------------------------------------------------------------------------
BEGIN CODE
Dim dirInfo As New DirectoryInfo("C:\Temp")
' Get a DirectorySecurity object that represents the
' current security settings.
Dim dSecurity As DirectorySecurity = dirInfo.GetAccessControl()
' Add the FileSystemAccessRule to the security settings.
dSecurity.AddAccessRule(New FileSystemAccessRule("ShanmuganathanR\Shan", FileSystemRights.Delete, AccessControlType.Deny))
' Set the new access settings.
dirInfo.SetAccessControl(dSecurity)
END CODE
--------------------------------------------------------------------------
Hope this helps .
Regards,
John Adams
ComponentOne LLC
|
|
|
|
|
Thanks
it works...
Is there any API for retriving domainname/user.
Hitesh sojitra
|
|
|
|
|
Hi Hitesh,
It is good to hear that my response was helpful.
Well, I am not aware of any such API's however, you may try to explore the System.Security namespace for more feature and functionality.
Hope this helps.
Regards,
John Adams
ComponentOne LLC
|
|
|
|
|
i observe that FileSystemRights once changed cant not be reset programmatically through the same APIs.
dSecurity.AddAccessRule(New Security.AccessControl.FileSystemAccessRule("cybergindia\hitesh", FileSystemRights.FullControl, AccessControlType.Deny))
the follwing doesnt seem to work once the rights are set to AccessControlType.Deny.
dSecurity.AddAccessRule(New Security.AccessControl.FileSystemAccessRule("cybergindia\hitesh", FileSystemRights.Read, AccessControlType.Allow))
pls help..
Hitesh sojitra
|
|
|
|
|
I guess perhaps you lose the right to set it to allow, as the user you're logged in as, or running as ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Yeah, once the user that runs this code, they give up all of their permissions to modify the access rules. That same user cannot then get it back because they no longer have the permissions to set the access rules.
|
|
|
|
|
ya i gatting same problem.. than what is solution to enable it by code?
Hitesh sojitra
|
|
|
|
|
There is none. You said 'don't let me edit this'. Now you can't edit it.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
If i set individual permission instead of FullControl than it possible to enable by .Allow option ?
Hitesh sojitra
|
|
|
|
|
I guess try it and see.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|