Rajasekaran_itech's Q&A profile
Windows Forms Print ZPL codes to ZEBRA printer using PrintDocument class
Is there any way to print to a Zebra Printer using ZPL (EPL2) codes, by derving from the .NET printdocument class If so, is there a way I can preview the output using a printpreview dialog or custom control that will interpret the ZPL codes and display an image of what the final document would look like Please post sample code if you have a solution or partial solution to this problem. Hi Shughes Here is the ...Show All
Smart Device Development MissingMethodException in SqlServerCe 2.0
I am running MW 5.0 on a AXIM X51 and using ActiveSync 4.0. I am writing code with VS 2003 in VB.NET->Smart Device Application and deploying in Pocket PC. I can produce a good HELLO WORLD application that works on the POCKET PC 2002 EMULATOR as well as the DEVICE(AXIM). While I have had success with .csv type database tables and XML tables I can not get the System.Data.SqlServerCe to work on the device. My application will run on the emulat ...Show All
.NET Development OneWayAttribute is seriously broken!
Try this code in VS2005: //#define BUGDEMO //#define BUGFIX using System; using System.Runtime.Remoting.Messaging; using System.Threading; namespace WorkerThreads { class Program { #if !BUGFIX [OneWay] #endif static void Worker(object o) { Console.WriteLine("Worker on thread {0}", Thread.CurrentThread.ManagedThreadId); } static WaitCallback worker = Worker; static void EndWorker(IAsyncResult re ...Show All
Visual Basic Why is the ToolTip's StopTimer method protected, and how to use it?
Hi, How can I use the ToolTip.StopTimer method if it is protected The command ToolTip1.StopTimer gives me this design time error: 'System.Windows.Forms.ToolTip.Protected Sub StopTimer()' is not accessible in this context because it is 'Protected'. What do I miss here Thanks Meini You can access it if you make your own ToolTip derived class that inherits from the ToolTip class. Consult the Source for the Inherits ...Show All
Visual Basic Windows Application Resides on a single machine.
Is it possible that the application is installed on a single machine and the clients has a shortcut of that application so that if there is an changes to the application the update will be installed only on that machine. I suggest to use ClickOnce , you must put some files on a server, the others machines connect to it to get updates... ClickOnce Deployment ClickOnce FAQ ...Show All
Visual Studio Team System Migrate sourcegear vault to TFS?
I have a VS2005 solution that is in Sourcegear Vault. I would like to migrate it if possible. If not, can someone please tell me how to import the solution from my work directory. I would believe that the solution will initially look for vault, but I would then need to rebind it to TFS. This is quite important for my development to continue without a major problem occurring. regards, Mark I'm not aware ...Show All
Windows Forms datagridview combobox
Hi All, have a problem working with comboxbox column with .net 2.0 (VB please) tblEmp - EmpId, EmpName, EmpRef tblrole - roleid, rolename tbluserrole- empid,username,pwd,roleid I need to create a datagidview which displays empname,username,pwd,rolename This is ok. But now when a user clicks on a new row, the empname and rolename columns needs to be a combobox. The user selects the empname from the comboxbox, assigns a username, ...Show All
SQL Server string to int????
Hi, I need to convert a string to an integer. I've tried using CAST and CONVERT but the problem is that my data also contains alphanumeric characters, in wich case I want the result of the conversion to be 0. The above commands gives an error if the data is not pure numeric. What can I do What do you WANT to do What's your expected output if there are alpha characters ...Show All
Windows Forms make listbox accessible outside of form
I have an app that uses a listbox to display program status messages and a function in a class other than the form needs to be used by the solution to update the listbox. I do not know how to make the listbox public so it can&nbs ...Show All
Visual Studio Team System Team Build unable to Run Auto Builds now
For some reason today, when I run a build type (automated build) thru the VSTS Interface. I get the following message back: "Failed to retrieve data from the server. Please verify the network connection and try again." I have no problem building the Solutions manually. Only encounter problems thru the Build Type. I see the following in Event Viewer on the Team Foundation Server log: " An unexpected condition h ...Show All
.NET Development internalprotected access modifier? (not internal protected!)
Hi forum! I'm currently developing a library type project with a bunch of internal types responsible for internal logic. My problem: i can't use these types in protected methods of public library types! The compiler quits with an "inconsistent access modifier" error. So my question is, are there any plans to add an "internalprotected" access modifier (i.e. protected -- but only internally) to future c# specs The only solution i can come up ...Show All
Visual FoxPro Old Fox Pro Code Please Help
I have the following code from an older version of Fox Pro. I typed it into VFP 8 and I can't get it to work. Does anyone have any suggestions SET BELL OFF SET TALK OFF SET DEVICE TO SCREEN CLEAR ****** NUM1 = " " NUM2 = " " NUM3 = " " NUM4 = " " NUM5 = " " NUM6 = " " @ 10, 5 SAY "ENTER LOTTERY NUMBERS" @ 10, 50 SAY NUM1 PICTURE "XXX" @ 10, 50 GET NUM1 PICTURE "XXX" @ ...Show All
Visual Studio Express Editions Formating a Label
Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click 'This calculates average income tax paid on earned income Dim incomebox As Double Dim MTR As Double incomebox = IncomeBox1.Text MTR = MTRBox2.Text Label20.Text = "$" & MTR / 100 * incomebox End Sub Private Sub Label20_Enter( ByVal sender As System.Object, By ...Show All
Visual Studio Express Editions SQL Server 2005 Express x86 fails to install
I already installed VB and VC# Express editions together with MSDN library but the SQL wont. Do you have a clue on why is this happening I dont have any beta pre-installed. Thanks. Dan Petrescu alias fulga Just to clear some things up... When you installed the express ides did you get errors that sql express did not install or are you trying to install the package seperatly. Remember that the express sys ...Show All
SQL Server Report Builder, Aggregation Scope and Running Values
Dear Anyone, I need to create a measure/column that is percent of column (or row, not sure). In Reporting services, we were able to do this because aggregations there had scope. =Sum(Fields!Open_Demand.Value)/Sum(Fields!Open_Demand.Value, "GSD" ) I can't seem to do this in RB because the aggregation there does not seem to have a scope. Nor does it have the function running value. Does anyone have an idea on how to do this on Report Builder T ...Show All
