|
This is easily done with Custom Actions[^] in your deployment project.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
either I'm dumb or it's not easy.. If I'm an idiot, ok by me but I find it trouble some to go trhough all of that just to add a password/serial key dialouge.
is there an easier way. he he he. just trying my luck because I've been goin' round in circles.
thank you for the reply and I;ve read through the articles.
I Xux
|
|
|
|
|
The Installer project that comes in VS is barebones. There is no "easier way", other than using a different installer application, like InstallShield or Wise for Windows Installer.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
how can i show all record in my ultragrid present in crystal report which has 2 columns n multiple rows..
my coding below always show 1st row of record instead of multiple rows in my ultragrid...
' Add all parameter fields into crystal report<br />
objPreview = New CRViewer30.CRViewer<br />
For i = 0 To ultraGridTransaction.Rows.Count - 1<br />
With objPreview<br />
.AddParameterFields("@TaskCode", ultraGridTransaction.Rows(i).Cells("Task Code").Text.Trim)<br />
.AddParameterFields("@Description", ultraGridTransaction.Rows(i).Cells("Description").Text.Trim)<br />
<br />
.ReportName = strReportName<br />
.ReportPath = strReportPath<br />
.ServerName = gstrPrimaryServer<br />
.ServerDatabaseName = gstrPrimaryDatabaseName<br />
.ServerDatabaseUserId = gstrPrimaryDatabaseUserId<br />
.ServerDatabasePassword = gstrPrimaryDatabasePassword<br />
<br />
.ScriptingSyntax = CRViewer30.CRViewer.Syntax.VBSyntax<br />
.PaperOrientation = CRViewer30.CRViewer.Orientation.Portrait<br />
.GenerateType = CRViewer30.CRViewer.GenType.ShowReport<br />
End With<br />
Next<br />
<br />
' Showing report<br />
objPreview.Generate()
Thanks for help
angela
|
|
|
|
|
is there way to make the image like button effect when u click on it, it will act like it's been pressed?? like a bit 3d like that...
|
|
|
|
|
If you take a screenshot of a button pressed and not pressed, you'll see it's pretty simple to draw. There are two grays, one for the topleft and one for the bottom right. When pressed, the colors swap.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
|
No, I mean draw the outline over the image.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
You just swap them while the button is being held down and then swap back when it is let up.
Pablo
|
|
|
|
|
Im sorry I dont have an example but it would be something like this:
NormalImage
PressedImage
If MouseDown In Image Control
ImageControl.Image = PressedImage
Endif
then when the mouse is let back up
ImageControl.Image = NormalImage
Pablo
|
|
|
|
|
Hi all, I have this mdi application that I'm creating
This MDI application has 2 MDI Child.
Everytime I do the show() on each of the child form, it will flickers badly since I have a lot of controls on my child forms. How do I make them draw on the background first and show it when it's done ??
To give you all the idea with what i mean, think about when you first start windows. It will have the loading screen and after it's done loading, the shortcuts on your your desktop will appear in a very manner :P.
Thank you guys
|
|
|
|
|
You can turn on double buffering, but you can't make your control paint themselves before they paint themselves, they won't draw until a WM_PAINT message occurs.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
eagertolearn wrote: I have a lot of controls on my child forms.
Have you considered using more forms with less controls on each? Too many controls on a single form is, as a general rule of thumb, poor design practice.
|
|
|
|
|
Stupid question I'm sure, but although I can easily copy a form's code across projects, I can't figure out how to copy the design element of the form. I've tried copying foo.resx and foo.designer.vb, but neither of them seem to bring up the designed form.
tia!
|
|
|
|
|
Hi,
cstrader232 wrote: I've tried copying foo.resx and foo.designer.vb
Try copying the InitializeComponent() along with the files you specified ?
<marquee>"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
Anant Y. Kulkarni
|
|
|
|
|
hello!!
when i run crystalreportviewer in my vb.net application i get the error
"the .net assembly CrystalDecision.Windows.Form could not be found
could anybody tell how could i resolve this problem???
|
|
|
|
|
Reposting your question every 6 hours is rude. It'll just get you ignored...
Does your app have a Reference (in My Project) to the CrystalDecisions.Windows.Forms DLL??
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
i have an problem when i convert .net 1.1 proj in 2.0 through its default converter as it not converts project accurately.
tell any way to convert .
thanx
|
|
|
|
|
jagmit20 wrote: tell any way to convert
With 100% accuracy?? The only way to do that is to rewrite it by hand. You can use the Conversion Wizard as a starting point, but that's about it.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
If the converted one compiles, then the conversion has done the job. That is what migration promises to do. The migration pretty much occurs to the project settings only. It won't upgrade your source code, nor does it add any new features that didn't exist before.
Best,
Jun
|
|
|
|
|
He's asking other ASP.NET questions, so that's the kind of project I think he's upgrading.
There's so much that's different between ASP.NET 1 and 2, that his project will more than likely break when he compiles it.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
I see. Forget about what I posted earlier.
Best,
Jun
|
|
|
|
|
is there any way
to call function automatically when webforms loads without writing each time
code at page load of each webforms.
|
|
|
|
|
You get a better response if you ask this question in the ASP.NET forum.
AFAIK, there is no event that fires for every request in every session.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
1. Create base page that calls the function.
2. Have all your pages inherit off of the base page.
Mike Lasseter
|
|
|
|