|
After adding the same in to Installer and Installer class to custom action it is working fine
thanks for your advice
Saseendran Kombath
|
|
|
|
|
Hii
I want to create .CAB file using win zip. how i do this. please suggest.
Thanx
Mitesh
~Khatri Mitesh
khatrimitesh@hotmail.com
Bikaner (Rajasthan)
INDIA
|
|
|
|
|
IIRC, you have to use WinZip's command line support utility to do something like this. Never used it myself though.
|
|
|
|
|
You might be better off using an open source, third-party, .NET compliant library that is better suited for programming than using WinZip. This might help: Google Search for open source zip library .net[^]
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my Blog
|
|
|
|
|
I've used DotNet Zip and it worked fine for what I was doing.
Any suggestions, ideas, or 'constructive criticism' are always welcome.
"There's no such thing as a stupid question, only stupid people." - Mr. Garrison
|
|
|
|
|
No
I want to create a cab file using win zip.that must be run on mobile devices.
Please suggest how i do this.
Thanks
Khatri Mitesh
~Khatri Mitesh
khatrimitesh@hotmail.com
Bikaner (Rajasthan)
INDIA
|
|
|
|
|
I want to make magnifier for image.so i want 4 pixels works as 1 pixel for image which in picBox and when i draw on that image than also 4 pixels works as 1 pixel.i sent a small code which only draw large image but not change pixel size.so give me some idea for change pixel size of that picbox.
Thanks
"This is code of PaintEvent of picbox"
picbox.image=image.fromfile(anyfile)
dim bm as bitmap
bm=picbox.image
Dim wid, hig As Single
wid = bm.Width
hig = bm.Height
wid = wid * 2
hig = hig * 2
Invalidate()
e.Graphics.DrawImage(bm, 1, 1, wid, hig)
PicBox.Width = wid
PicBox.Height = hig
Vineet Swami
Isol
|
|
|
|
|
You can't change the pixel size of a bitmap, a pixel is always a pixel. It sounds like all that you want to do is to display the image at double scale, which you already have done. If you draw on the bitmap it will show up scaled when you display it.
Vineet Swami wrote: PicBox.Width = wid
PicBox.Height = hig
Don't change the size of the control from the paint event. That will cause another repaint.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Hi,
none of the code you have shown belongs in the Paint handler of a PictureBox,
because 1) a PictureBox does its own painting anyhow, and 2) the code
shown should not execute every time the PB needs being repainted.
There are two ways to do what you want, depending on the details of what
you want:
1.
simply scaling up an image is something a PictureBox does naturally.
Just make the PB twice as large as the image is, and set its
SizeMode to PictureBoxSizeMode.StretchImage
This can be handled in the Visual Designer, without adding your own code.
Doing so the PB will use interpolation to calculate the new pixels,
which is fine for displaying pictures etc.
2.
if you want to replicate the existing pixels (e.g. because you want to
create a pixel editor), without calculating new pixels, it is a bit more
complex. There are again two ways:
2a.
calculate a new image yourself, twice as large; use two nested loops,
and the Image.GetPixel() and SetPixel() methods, unless performance is
very important (then use unsafe code and pointers)
Do this in a method that runs only once, e.g. the Form's Load handler.
2b.
Use a Panel instead of a PictureBox, provide your own Paint handler that
sets Graphics.InterpolationMode to InterpolationMode.NearestNeighbor
and draws the image yourself with Graphics.DrawImage.
If the borders need to be accurate too, you need a more elaborate DrawImage
overload that allows you to apply a translation over half a pixel in both
dimensions.
modified on Saturday, November 1, 2008 1:16 PM
|
|
|
|
|
I want to right a programm in (VB.net )for data transfer Client to Web Server; i have bulk data on my Client PC and i want to Upload all Data on Web Server less time consuming.
|
|
|
|
|
So what part of this are you having a problem with?
|
|
|
|
|
Thanx for reply.
I have two servers with 4 to 5 tables one is local one and other is remote server.
I need to fetch data from remote server to local server using windows application.
For that i m using stored procedure in SQL server 2005 that i m calling on my form with refresh button but it takes long time to fetch data from remote server so i want faster way to data fetching.
so Plz help me.
|
|
|
|
|
pank@1234 wrote: but it takes long time to fetch data from remote server so i want faster way to data fetching.
There really isn't any faster way. If you're retrieving many, many records, it's going to take a while. This also depends on the structure of the database, any indexing, and the SQL statement you're using to retrieve them. If it's just a simple SELECT, like SELECT * FROM table , and you're using the SQL data provider, there's nothing you can do to speed this up.
|
|
|
|
|
thanx for reply.
ok.
i m still searching for solution if u got any new idea plz inform me about tht.
Thanks
|
|
|
|
|
Is this a 100% complete backup everytime, or are you only add new data? What are the requirements? This makes a HUGE difference in how you should attempt to accomplish your goal.
If you only have to record the differences, then you could transfer only the new rows, updated, etc. Another option would be to use DTS. Alot of options, but require some effort in developing the method(s) in filtering and transferring the data.
Any suggestions, ideas, or 'constructive criticism' are always welcome.
"There's no such thing as a stupid question, only stupid people." - Mr. Garrison
|
|
|
|
|
With the limited information you've given, there are no new ideas.
|
|
|
|
|
Dave Kreskowiak wrote: With the limited information you've given, there are no new ideas.
Sigh. The classic "I want to go to the moon. Can you tell me how to build a machine to do so?"
Any suggestions, ideas, or 'constructive criticism' are always welcome.
"There's no such thing as a stupid question, only stupid people." - Mr. Garrison
|
|
|
|
|
hi
i developed a windows application for my company.it is working fine.
now my company needs to convert it to webapplication and put it in the company's website.
now how can i convert the windows application to web application
is there any tool for it
i developed windows application using 3 tier archtecture
plz help me
thanks in advance
vijay kumar D
|
|
|
|
|
vijaylumar wrote: is there any tool for it
No.
vijaylumar wrote: i developed windows application using 3 tier archtecture
Good. Take two of those tiers (the business layer and the database layer) and put a new presentation layer on it.
|
|
|
|
|
there is no tool for it.
you have to create it.
Sathesh.
Blessed is the season which engages the whole world in a conspiracy of love.
|
|
|
|
|
start writing some asp files first
|
|
|
|
|
Hi
does anyone have an idea on how to disable the MS-Office Web Component's context menu?
I'm using OWC11 on a form and would like to some how prevent the OWC context menu to pop-up.
thanks
|
|
|
|
|
hi,how i can communicate with bluetooth device in vb.net?
for example i have an external gps bluetooth antenna...
how can i recive nmea string from device?
can you post code or link of this argument?
thanks
|
|
|
|
|
|
حقیقتش منم مشکل دارم اگه کسی بلد هست کمکم کنه
Silvervbnet@yahoo.com
|
|
|
|