Wolfgang Al's Q&A profile
Visual Studio Express Editions How I get the activation key ???
I successfully created 4 myself a .net account(clicked "Register now!" in Product Activation dialog, filled some fields and gave my e-mail address, received two mail, followed the confirm link etc.) but I found nothing about the location of the activation key. Help me please! When you received the e-mail verification mail, the link you followed to verify your e-mail would have taken you back into the system and the page displayed would provide you the activation key. Since you have verified your e-mail, you should be able to go through the process again and go straight to the activation page ...Show All
.NET Development System.IO Q's
Hi there. I am doing some mobile dev in C#. I know that the .NET Framework is stripped down, becoming .NET CF for mobile devices. Is there a way to retrieve the startup path of the application thanks! That is correct I do get that error message. however I was able to sort it out! I had to import System.Reflection and use: Assembly.GetExecutingAssembly().GetName().CodeBase.Substring(0, Assembly.GetExecutingAssembly().GetName().CodeBase.LastIndexOf("\\")) That gave me the startup path and works great! Bad thing about it is that if your run the mobile app on the PC.. it throws a JIT error... but thats fine I guess beca ...Show All
.NET Development ADO and Role Base
Hello, I have this question: We know that Enterprise Services (ES) offers secure model i.e. Role Based Security (at a cost of added comlexity) But can one achieve this purely using ADO.NET based model If no, how can I simulate the Role Based Security if we dont want to go the ES route Thanks Thank you SvenC, that was very helpful. I am well aware of the difference between ES amd ADO. The short answer from what you said is the ADO.NET namespace is not shipped with role-security. I guess to achieve similar functionality, i will either have to implement is in-code or rely on the DB/windows groups. Thanks ...Show All
Windows Forms Form HasChanges properties.
I wonder is there a easy way to check if a form has been modifed What I want to do is when user click the close button, check if there is any changes in all the textbox and confirm they don't want to save. I know I can go to each control and add a textchanged event, but I got more than 40 controls. So it is a pain to do this one by one. Thanks. Hi Terence, I am not aware if there is such a property or event. What you can do is possibly iterate through all the controls on the form using a loop as shown below: (assume that allValidated is a boolean variable which will be used like a flag. Outside the loop, check for allVali ...Show All
SQL Server Does the June CTP qualify for the GoLive Now program?
I would like to use the latest build, but the April CTP is listed, not the June CTP. Is this an oversight, or intentional Fernando, I am in the process of following up with MS Sales. We are moving forward with SQL 2000, but would like to implement SQL2005 EE. ...Show All
Software Development for Windows Vista How to persist a workflow
Hi, Having added the SQL persistance service how can I force my workflow to persist as it enters each activity Ta in advance, Michael M. Sounds like a good candidate for a tracking service. PersistWorkflowOnTransitionService It also sounds like a good candidate for a new property\mechanism similar to 'UnloadOnIdle'. PersistOnActivityTransition ...Show All
Visual Studio Express Editions I do not want SP2. I do not want SP2.
Hi. I run on Windows XP Professional SP1 and I really need Visual Basic .NET Express edition, as SharpDevelop2 is very buggy (atm). The thing is: I do not want SP2. Please do not flood me with comments such as "BUT OMFG SP2 PWNZZZ SP1 ! !" but tell me one good reason why to update into it. Not "security", not "more stable", but something real. Incase it comes with some updates needed by the Visual Studio's, why not make the user able to download them just like that, not some massive load of bugs Is there a way to override the SP2 check I'm sorry but Windows XP SP2 is a require ...Show All
Visual Basic Moving an imagebox
Hi I have a form and on that form is a imagebox, how can I make the image box move from the left of the form to the right of the form Add a timer to your form. In the timers event move the imagebox a little to the right. Disable the timer when the imagebox is at the other side of the form. ...Show All
SQL Server Size of PDF reports
Guys, The same of the reports with charts are really around greater than 1mb. I have one report that is above 7mb. Is it really that high for reports with charts That seems a lot. Is there anyway I can shrink the size of the PDFs Thanks, Enkh. You can not control the rendering extensions but you can install a new one. I think that out there are some third party extensions that render to DOC and different extensions that renders to PDF, you only have to find out which compresses better your rendered documents. ...Show All
Windows Forms Datagridview Column Format
Hi I have a datagridview which I am binding to a data returned from web service. Once I bind the data I use the following code to format the datagridview columns. 1 ) dg.Columns[1].DefaultCellStyle.Format = "#,##0" ; 2 ) dg.Columns[1].DefaultCellStyle.Alignment = DataGridViewContentAlignment .MiddleRight; Second line works for me but the first line which I am using to insert thousand separator does not work. Data does not have a thousand separator. Am I doing something wrong here Regards What is the ValueType of the column cell If it is string, most likely the format will not work. I ...Show All
Visual C# Where is isDecimal functionality
Hi all, I hope somebody could help me out here. In Vb.net, we have isNumeric() functionality. But I am validating Decimal field. Where did isDecimal() functionality gone. Can anyone help me to validate a decimal field in a data grid. Thank you in advance. Raj bool IsDecimal(double original) { x = Math.Floor(original) return ((original - x) > 0.0) } ...Show All
Visual C++ Error PRJ0019 : A tool returned an error code from "Performing registration" ProjectName
Hi, I'm facing one problem when compiling vc6 project into vc8 compiler. Error PRJ0019 : A tool returned an error code from "Performing registration" PantherConfig I have gone thru a number of links providing solution for this but couldn't get correct solution. I think it is having problem in registration dll but not sure. In Build log it is telling that "Cannot open the specified file testerinfoerrors.err for reading" while this file is existing. Please highlight some point over this. Thanks in advance. Madhur Does running regsvr32 to register your component on the command-line (outside the IDE) work at all If not, you'll need ...Show All
Visual Basic Why do the DEBUG (F9) breakpoints not trigger 80% of the time? How do I get it 100%?
Why do the DEBUG (F9) breakpoints not trigger 80% of the time How do I get it 100% Michael OK, so we need to make sure you are actually in the right configuration When you have the Solution in the Solution Explorer selected, go to the Property Browser window and let me know what the value is for "Active Config" thanks! Kathy PS. where are your breakpoints at btw is it in code that might be marked as either Debugger Step Through or Non User Code ...Show All
.NET Development Installing a dll into GAC
hi all, somebody plz help me............ i have to install a dll which i build in VC++2005 into GAC but fail to do so. when i run gacutil from command line, it says Failure adding assembly to the cache: Strong name signature could not be verified. Was the assmbly built delay-signed . but i built the dll by [assembly:AssemblyDelaySignAttribute( false )]; and if i drag & drop the assembly into GAC , it says the check of the signature failed for assembly 'myfont.dll'. but when i build the same thing in VC++2003 it works fine. wats wrong with VC++2005 or did i have something more to install into Gac. plz help me. thanks in advance. ...Show All
Software Development for Windows Vista loading workflow from xoml file
i save workflow in xoml file now when i load it back its loads fine but i had to cast it into prope type can any body give me better way of doing it ..... XmlReader xmlReader = XmlReader .Create( "seq.xoml" ); WorkflowMarkupSerializer serializer = new WorkflowMarkupSerializer (); seq. Workflow1 wf1 = (seq. Workflow1 )serializer.Deserialize(xmlReader); WorkflowInstance wfInstance = wfRuntime.CreateWorkflow(xmlReader); wfInstance.Start(); I mean simply using Activity type for wf1 not works .... If you are trying to deserialize a workflow from a XOML file you do the following: XmlReader xml ...Show All
