|
hi guys
my application is not running under win.2000 though i have made intranet zone fully trusted , though i am not getting any exception on win xp, i am running exe from network path,,
what could be the cause, ?
thansk in advance
....
and second one i have win2000 virtual machine installed on my pc, but in the admin tools,
it doesnt show framework 2 configuration ,, thoug framework 2 is installed also on virtual machine ,,,
thanks again
hello
|
|
|
|
|
hi
First is your application a .net APPLICATION? (MSI)FILE NOT eXE?
And what is the exception that you get when you try to run it in win 2000?
thanks
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
hello frnds,
i want to append one word file to another to anoter how can i do that ?
thankx in advance
koolprasad2003
Be a good listener...Because Opprtunity knoughts softly...N-Joy
|
|
|
|
|
|
hai all,
can you give me an idea to compress the 'folder' in vb.net.
I wish it is better to not import external dll.
Thank You in Advance
Senthil S
Software Engineer
|
|
|
|
|
DO you want to specifically compress a folder?? Compressing all files in the folder will not work??
[I think you want to zip the folder? Am i right? ]
modified on Wednesday, January 02, 2008 6:05:35 AM
|
|
|
|
|
Hi, Now i create a setup project to deploy my application. Now I know how to create the setup project but I get stuck with deploy a custom folder. I need to place a folder name DbFile in the root drive C:\ but I don't know which properties that I need to set in the properties windows in order to create this folder in the root drive C:\ of the target client when I install my application.
Thank in advance!
|
|
|
|
|
This is a really bad practice so I discourage you from doing it. Any application specific files should be under the app's Program Files folder or under Common Files or the User's Application Data Folder.
But, I also realzie that there are few (very few) circumstances where this is a must. All you have to do is right-click your setup project, click View, then File System. In the File System editor window, right-click the "File System on Target Machine" line and pick Add Special Folder. The in that menu, click on Custom Folder. Rename the folder to whatever you want and in it's DefaultLocation property, change it to "%SYSTEMDRIVE%\"
|
|
|
|
|
|
Dear Sirs,
in our vb.net application we need to show on the form, an e-mail that comes from outlook and it is stored in .msg extension, like the way outlook does. Any idea how to do that? Maybe there is a component that does this ?
ninkk
|
|
|
|
|
You can either use Outlook, through it's automation interface (Outlook Express does NOT have one!), or start Googling around for a third party component to do it. I started searching with "vb.net component .msg file[^]".
|
|
|
|
|
HI all
I have an application in which I am reading a image from a file & loading it into picture box.
I wanted the picture to be stretched in as per the picture box…so set the sizemode property of picture box to stretch
But the image is not stretching..
I have following doubts
- I am using file stream to read the picture. Is that has any thing to do with it?
- I am using that Picture box to allow the user to use as MsPaint and have a bitmap and graphic object associated with it. So am I supposed to close both or any of them before I can load and stretch the image???
Regards
Nishkarsh
|
|
|
|
|
The streams have nothing to do with streching the image.
nishkarsh_k wrote: I wanted the picture to be stretched in as per the picture box…so set the sizemode property of picture box to stretch
Are you expecting the image to strech with a resizing PictureBox?? If the PictureBox isn't anchored to the sides of the form, the image won't resize because the PictureBox isn't resizing.
All you have to do to get it to work is set the Image property to the image you want and change the SizeMode to StrechImage. That's it. If you want something else, you're going to have to describe what you want it to do.
|
|
|
|
|
I had done all that u told but it dose not works only at that place.
At all other places it dose.
The only difference at this place in from other places is that the picture box is placed inside a panel
|
|
|
|
|
hi
can any one tell me how to store & retrive images from Access.
poonam
|
|
|
|
|
|
hi,
i m developing a text editor. I m using Dhtml edit control rather than richtext box control. My problem is, i wana limit the number of lines in dhtmal edit control. that is i want that a user can enter only 20 lines in dhtml edit control. and after than he has to go on the other page for writing further. so is it possible to limit the number of lines in dhtml edit control. Thx in advance...
King
|
|
|
|
|
Nope. There is no property that exposes this. The DHTMLEdit control is design to edit web pages, not Rich or normal Text.
|
|
|
|
|
thx for reply me.
Can u tell me how i can do the same thing in richtext box control that is if the user writes 20 lines then how can i forces him to further write on the next page. plz reply me..... n thx in advance
King
|
|
|
|
|
What "next page"?? You can handle the TextChanged event of the RTB, check to see how many "lines" (hint: Lines property - the RTB defines a line as a bunch of text with an [ENTER] key on the end, NOT the visual lines on the screen!) then do whatever you want when the number gets to 20.
|
|
|
|
|
thx.
i got your point. Now i m facing another problem in RTB. When i use a image in RTB and try to resize it, the resolution of the image destroyed. Can you suggest anything for solving this problem. I m using DHTMLEdit instead of RTB just becuase of image resolution problem. If you have any solution plz tell me thx man...
King
|
|
|
|
|
I am trying to populate a backup Access Table for specific range of dates; however, the whole table is getting backed up. It works fine with other fields (eg. the commented myCmd statement). Any suggestion will be appreciated
Dim sDate, eDate, cmd As String 'starting date and end date
sDate = DateTimePicker1.Value
eDate = DateTimePicker2.Value
Dim ssdate As Date = DateTimePicker1.Value
'******* Start of Nash-Sutcliffe Efficiency Algorithm ********
'------- Populating dailySummary Table -----
myCmd = "SELECT * INTO dailySummary FROM " & inpTable & " WHERE " & fdate & " > " & ssdate
'myCmd = "SELECT * INTO dailySummary FROM " & inpTable & " WHERE " & obsDaily & " BETWEEN 4.0 AND 5.0"
cmmd = New OleDbCommand(myCmd, myConnection)
MsgBox(myCmd)
cmmd.ExecuteScalar()
|
|
|
|
|
You have multiple problems with this. The first is that your SQL statement is wrong. The WHERE clause is comparing your first date with the second, and alway socmming up with True, so that's why you're getting every record in the table instead of a range of them. You should be comparing the field in the table you want to those two dates, not the two dates to each other.
Second, dates in Access must be wrapped in # characters. You don't have any of those in your SQL string, so the dates are not even valid, no matter what they look like.
Lastly, you're using string concantenation to build the SQL query. This has numerous problems with it as dates in strings can be in many different formats and that might not match the date format Access is using. Use parameterized queries instead. Read this[^] for an explanation of why concantenating strings together to build your SQL statements is a bad thing, and how to use parameterized queries to eliminate some of the problems you're having passing dates into the SQL.
|
|
|
|
|
Hi,
I am wanting to enumerate some registry keys and then retrieve a value and enter something into a listbox or combobox.
For example, I have the following key in the registry HKEY_LOCAL_MACHINE\Software\Test. Under this I have several other sub keys, called for example sub1, sub2 and sub3. In each of these sub keys, I need to retrieve the value of InstallPath string from each of those sub keys, and then put the value into a combobox or listview.
I think I need to enumerate through the subkeys as they can be different, only the main key Test will remain the same.
Any help is appreciated.
Thanks, Andrew.
|
|
|
|
|
Sounds to me like what you really need is a Tree View to show it, not a combo box. If that was me coding it though, I would use a simple while loop to step through the key structure.
Pete Soheil
DigiOz Multimedia
http://www.digioz.com
|
|
|
|