|
I am trying to migrate an WinForms application to WebForms application using WebGUI. When i try to compile the WinForms code in the WebGUI project by deriving(or replacing System.Windows.Forms) with Gizmox.WebGUI.Forms, my code is not compiling beacuse of various appributes on the WinForms
Below are some of the error? How do I resolve these errors?
DataReader.frmDataReader' does not contain a definition for 'HelpButton' and no extension method 'HelpButton' accepting a first argument of type 'DataReader.frmDataReader' could be found (are you missing a using directive or an assembly reference?)
D:\source\Programs\Data Reader_ASP\Data ReaderASP\frmDataReader.Designer.cs(327,17): error CS0029: Cannot implicitly convert type 'System.Drawing.Icon' to 'Gizmox.WebGUI.Common.Resources.ResourceHandle'
D:\source\Programs\Data Reader_ASP\POS Data ReaderASP\frmDataReader.Designer.cs(328,9): error CS1061: 'DataReader.frmDataReader' does not contain a definition for 'KeyPreview' and no extension method 'KeyPreview' accepting a first argument of type 'DataReader.frmDataReader' could be found (are you missing a using directive or an assembly reference?)
D:\source\Programs\Data Reader_ASP\Data ReaderASP\frmDataReader.Designer.cs(340,9): error CS1061: 'DataReader.frmDataReader' does not contain a definition for 'MouseMove' and no extension method 'MouseMove' accepting a first argument of type 'DataReader.frmDataReader' could be found (are you missing a using directive or an assembly reference?)
|
|
|
|
|
Well you have to solve the errors by replacing the System.Windows.Forms-elements with the matching Web-control. For example the HelpButton does not exists for Gizmox.WebGUI.Forms. So you should add a control 'HelpButton' to your form...
|
|
|
|
|
In the WebGui project, the form controls is derving Gizmox.WebGUI.Forms.Form . So can i add conrols in "systems.windows.forms" namespace to the Webgui project
|
|
|
|
|
Well this dependes on the Gizmox framework. I would suggest to take a look into the documentation of gizmox.
|
|
|
|
|
Had a quick look into the Migrate-video from gizmox. Seems like you have to rename all your System.Windows.Forms-references to Gizmox.WebGUI.Forms-references. This means they have implemented all Windows-Forms-controls to Gizmox-controls. So you cannot add System.Windows.Forms controls to the project.
Are you missing a special control, or why do you want to add controls from Windows.Forms?
|
|
|
|
|
I am trying to migrate an WinForms application to WebForms application using WebGUI. When i try to compile the WinForms code in the WebGUI project by deriving(or replacing System.Windows.Forms) with Gizmox.WebGUI.Forms, my code is not compiling beacuse of various appributes on the WinForms
Below are some of the error? How do I resolve these errors?
DataReader.frmDataReader' does not contain a definition for 'HelpButton' and no extension method 'HelpButton' accepting a first argument of type 'DataReader.frmDataReader' could be found (are you missing a using directive or an assembly reference?)
D:\source\Programs\Data Reader_ASP\Data ReaderASP\frmDataReader.Designer.cs(327,17): error CS0029: Cannot implicitly convert type 'System.Drawing.Icon' to 'Gizmox.WebGUI.Common.Resources.ResourceHandle'
D:\source\Programs\Data Reader_ASP\POS Data ReaderASP\frmDataReader.Designer.cs(328,9): error CS1061: 'DataReader.frmDataReader' does not contain a definition for 'KeyPreview' and no extension method 'KeyPreview' accepting a first argument of type 'DataReader.frmDataReader' could be found (are you missing a using directive or an assembly reference?)
D:\source\Programs\Data Reader_ASP\Data ReaderASP\frmDataReader.Designer.cs(340,9): error CS1061: 'DataReader.frmDataReader' does not contain a definition for 'MouseMove' and no extension method 'MouseMove' accepting a first argument of type 'DataReader.frmDataReader' could be found (are you missing a using directive or an assembly reference?)
|
|
|
|
|
|
Hi,
HelpButton is currently missing in Gizmox.WebGUI.Forms library, however it's recoverable using a plain button easily.
As for the ResourceHandle, being web based technology, this is the way VWG handles resources such as images, you will need to include the images using a browser supported format (png, jpg, gif) within: Resources\Images or Resources\Icons which should be located under your project root directory. Then you can select the icons/images using the [...] button within the control's Image/Icon property (within the designer's property grid).
This action will create the resource handle required to grab the picture "web-style" at runtime.
I hope this helps...
You can further ask VWG related questions within the VWG forums to get the VWG community's rapid answer...
Cheers,
Itzik
|
|
|
|
|
I am looking for an application or environment that will let me maintain the same javascript or other coding over multiple pages and may be referenced in other pages.
|
|
|
|
|
Does an external javascript file not work? What exactly do you want to do?
|
|
|
|
|
Use external javascript file (.js) and use it in the required pages with in the script tags.
Either you love IT or leave IT...
|
|
|
|
|
Hi,
I have a .Net 2.0 web application that works fine on 2003 windows server on 32 bit mode, now we are migrating to win2003 64 bit server.
Every part of the application works fine but the Crystal reports. I tried many solutions by installing different runtime dll's for CR, with no luck. I always get the error:
"An error has occurred while attempting to load the Crystal Reports runtime. Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly.
Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64 or Itanium) required..."
Also we are forced to operate IIS on this machine in 64 bit mode, so I can't change it to 32 mode.
Last thing I'm thinking of is to recompile this application with VS 2008 64bit that has CR shipped with it, but I'm afraid of having backward compatibilty issue as crystal in VS is version 10.5and I'm using 11.5 (which doesn't support 64 bit !)
my head will blow up
Please give me any suggestion or direction for bad situation.
Thanks in advance.
Note:I dont know if I'm posting to the correct forum.
ThaScorpion
|
|
|
|
|
How to generate SOAP request from WSDL / Is there any way we can generate SOAP request at client end using .Net code (not by any tool).
I would like to invoke a web method by passing the soap request. We are trying to create soap request for any web method dynamically.
Ved
|
|
|
|
|
Hi,
i have an authorised SSL certificate in the web server and when client invokes the html which is present inthe server...IE should display certificate like..
Security Alert box with yes ,no and view certificate buttons.....
and what are tags i need to add in html so that client client views it when trying to access the html.....
|
|
|
|
|
You could use an unauthorised SSL for the same effect...
If you want to prove your site it trustworthy most SSL cert providers offer an link your clients can use to verify your site is secure. Put it at the bottom of the page.
|
|
|
|
|
hi,
I didn"t get what u suggested my requirement is ...
What are the tags that needs to be added to html to display the SSL certificate(in client) which is present in the server....
correct me if im wrong....
|
|
|
|
|
As far as I know, I'm pretty sure you can't do what you want to with a valid SSL certificate.
But you can put a link on your page to your SSL provider that shows you have a valid SSL certficate - but ONLY IF your provider provides this service.
|
|
|
|
|
You could however decode the cert and display the info to your users. Bit pointless though.
|
|
|
|
|
ok then i have created a test certificate using makecert and how can i sign my cab file using this certificate in windows Xp...and i want to know my clients from where they are downloading and installing certificate...
how can i achieve the same...
|
|
|
|
|
for test certificate (some 15 days trail certifcate right) you have to get the both from the Certificate Provider. For example thawate, versign. Once I have tried it. Both server and client I have collected from them and it worked.
|
|
|
|
|
Usually you can see the certificate if your client submits the certificate to the server.Doubt that we could see the server certificate in client because it will be validated through the browser by contacting the Certificate Providers like Versign, thawate.
|
|
|
|
|
Hi...
If a user open MSword and gives print command, how my .net application will identify it ?
Remember i am talking about the prior stage of print dialog box....
I want that , if a user click print command in file menu of msword, the print dialog box should not be displayed , but he should be redirected to our .net application.....
For this i make my application in run mode and used Timer control's tick event and i want to detect here, -- the prior stage of print job from MSWord....
awaiting
Hemant
By:
Hemant Thaker
|
|
|
|
|
Well I suggest you ask microsoft if there is an api for what you want to do (which I doubt) or if you could have their source code...
I don't think microsoft will like you pulling apart their software though.
I suggest you create a software printer (google "dopdf") that posts the data to your web app. Not a simple task.
|
|
|
|
|
|
Hi..
thanks for your support....
You are right , so far as accessing any ms word document in our application is concerned.
but what my reqirement is ...
My application in .Net is already running, and if some one opens MS word and gives print command, the print dialog box should not appear , but one windows form in my running .net application should popup
thats it...
so which process is responsible to generate print dialog box in ms word... and what i can do is bypass this dialog box and pop up my form...
please do me a favour and find something i u can...
thanks n awaiting...
Hemant
By:
Hemant Thaker
|
|
|
|