Mirai's Q&A profile
Smart Device Development Signature Control in DOt NEt 2003
Dear all, Currently I’m using one signature control in my application. It is giving signature as bmp file format and size of the bmp file 40kb to 60 kb. First I convert the bmp file to byte array and storing in SQL Server using Web service. Now my problem it is taking too much of time to store the value. Is any other signature control is available with low file size output () or any other way get the signature Final I want to show the signature in the web page. My Config is Device OS: Windows CE .net 4.2 Development: VS.net 2003 Pl. don’t suggest for commercial controls. Thanks & regards Have a look at the following sample 'Pocket PC Signature Applica ...Show All
Visual C# REAL C# world : open source C# projects
I am a java guy, now I want to switch to C#. I want to compare both language. in the Java/J2EE web framework ----- Struts / Spring persistence object-relational ------ hibernate IDE ----- Eclipse third-party library ------ apache web server ----- tomcat application server ---- JBoss hot forum ---- www.javaranch.com what about REAL C# world Do we have lots of open source C# projects Thanks. I know nothing about java environment but i will try to help you: web framework: Visual Studio IDE: Visual Studio C# IDE Third party library: .NET Framework is free Web Server: Windows IIS Application server: hot forum: tek-tips, codeproject, csharpcorner, msdn.microsoft, ... Yes there ...Show All
.NET Development Using the Queue Class in J# code
I'm trying to create a queue, where each element will contain an array of integers. However, when I trying the Peek() function or the Dequeue function, it seems that the queue holds copies of the last array inserted (instead of the different arrays). The part of the code is: int [] TempArray = new int [5]; Queue tempQ = new Queue (); // inserting arrays to the queue for ( int t = 0; t <= 4; t++) { TempArray[t] = 8; tempQ.Enqueue(TempArray); } // pulling arrays from the queue for ( int t = 0; t <= 4; t++) { int [] TempArray2 = new int [5]; TempArray2 = ( int [])tempQ.Dequeue(); } Assuming that the original TempArray was [2,2,2,2,2], then the different arrays in t ...Show All
Windows Forms Can't get ObjectDataSource Paging to work!
Hi, I am trying to use paging with a DataGrid and ObjectDataSource, but I can't get it to work properly. The problem I see while debugging is that I get startRowIndex =0 and maximumRows =0 therefore my Select returns an emptry result set. Here's the code snipet to what I've used. But when I break inside GetUnnMemberDirectory (the select method), I always get maximumRows as zero. What is the problem with this code Thanks! < asp : DataGrid ID ="DataGrid1" runat ="server" Width ="600px" AllowPaging ="True" AutoGenerateColumns ="False" DataSourceID ="unnMD_ObjectDataSource" ShowHeader ="False" GridLines ="Horizontal" ...Show All
Visual C# Error Trapping in C#.NET
My question my seem extremely trivial, but I was wondering if somebody can explain what exactly is meant by theError Trapping construct in C#.NET or rather what sort of Errors does it catch and what differences are there between the Error Trapping construct of C#.NET and a typical try{}catch{} statement. Any conceptual clarification will be hugely appreciated. try {} Catch {} blocks does exactly what it kind of states. it will try to execute some code in the try {} block and if there are any errors produced/raised from any code within that block, it will go to the catch {} block to check to see if the exception is implemented/catched and once it finds that there is an exception which is to be expected i ...Show All
SQL Server How Can I retrieve Sql 2000 Encrypted Column Data From SQL 2005 Stored Proc?????
Hi... I want to retrieve SQL 2000 Encrypted Column Data From SQL 2005 strored proc. My Stored Procedure was on SQL 2000 and it works fine....Then I restore Database From SQL 2000 to SQL 2005. The Following Statement is on my store proce. select user_id , Encrypt ( user_pass ) from OpenRowset ( 'SQLOLEDB' , 'myserver' ; 'sa' ; 'mypass' , databasename . dbo . users ) as a The Following Error I get When I execute the above statement. Msg 195, Level 15, State 10, Line 1 'Encrypt' is not a recognized built-in function name. Thank you. Bal. Hi Adam, I retrieve the Encrypted column by just writing the following code...It is very easy to decrypt the column in SQL ...Show All
Visual C# Is there any way to implement an application that close other running application???
help me if there is any way to implement an application that close other running application... thanks in advance.. Here: System.Diagnostics.Process[] myProcesses; myProcesses = Process.GetProcessesByName(@checkedListBox1.CheckedItems.ToString()); int processCount = myProcesses.Length; for(int i = 0; i < processCount; i++) { myProcesses[ i ].Kill(); } I hope this will work fine. Best Regards, Rizwan aka RizwanSharp ...Show All
Visual Studio Team System How to solve errorlist question
Hello every!In my test project can checking but the error list display: 警告 8 CA0800 : FCRM : Type methd's 'aCheck' is contains numeric or illegal prifix, which should be modify 警告 9 CA0800 : FCRM : Type local's variable 'strTemps1' is contains numeric or illegal prifix, which should be modify C:\Documents and Settings\Administrator\桌面\ClassTest\ClassTest\Class1.cs 84 ClassTest 警告 10 CA0800 : FCRM : Type parameter's variable 'strWeh1' is contains numeric or illegal prifix,which should be modify C:\Documents and Settings\Administrator\桌面\ClassTest\ClassTest\Class1.cs 76 ClassTest 警告 11 CA0800 : FCRM : Type methd's 'gGetStringo' is contains num ...Show All
Visual Studio how to combine two VSS DBs into one?
I have successfully moved one VSS db to a new server, but now I have to add a second db to the same new location so the two separate dbs become one. The simple idea of just having two instances of VSS running with one db open in each and then dragging one to the other didn't work. What's the best way to do this TIA, Skugga If you simply want to combine the contents of two DBs, you can Get the root project from one DB and add those files into a project on the 2nd DB. However, if you want to maintain all of the change history as well, I can't think of a good way. You'd need to find or write a VSS -> VSS converter tool; I don't know of any. ...Show All
Visual Studio 2008 (Pre-release) Subscribing to a PageFunction's Return event from another Window
I have a series of PageFunctions and two Windows. One window is the main window for my application, and the other is a window that just contains a Frame. From the main window, I launch the second window, and pass a PageFunction to it that it navigates to. Before creating the window I subscribe to the PageFunction's Return event. The PageFunctions work and allow me to navigate through each one. When I reach the end I call OnReturn(), and it calls OnReturn for each PageFunction along the way recursively, exactly like the sample code. However, the Return event that I subscribed to from the Main Window is not called - I cannot comprehend why. Am I right in assuming the Return event has something to do with a NavigationService that my Mai ...Show All
Windows Forms UserControl in Toolbox
How do I get my usercontrols from the same project into the toolbox I have built some simple usercontrols and build the project fine. The usercontrols don't show up in the toolbox, so I right click on the toolbox and choose items then click on the dll for the project. The usercontrols then show up, but when I drag any of them to a form, I get the following error: Failed to create component 'LocationTechView'. The error message follows: 'System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. at System.Reflection.Module.GetTypesInternal(StackCrawlMark&stackMark) at System.Reflextion.Assembly.GetTypes() at Microsoft.Vis ...Show All
Windows Forms TreeView owner draw
Hi, I'm customizing a TreeView do draw lines lines from one node boundary to another point outside the treeview. Can I continue to draw a line to a point outside the treeview control How I tried to draw a line from the node until the TreeView control boundary.That was ok. Now, how can I get that exact point to start drawing a line to another control boundary (The other control is also a TreeView, I wanna draw lines connecting some of these treeView nodes). Help is really appreciated, D Hi,DevDiver If you want to draw lines between different controls, you must do the paiting work in the Form's OnPaint event ,and t hese twomethods maybe helpful for you if you want to translate the location ...Show All
Visual Studio Express Editions Issue with slowness! Please help!
My problem is that as I am building a website I am connected through ftp. Is there any possible way to continue working on the website without being connected. Everytime I type even 1 letter it has to obtain all the pictures etc from the web, which takes forever so it takes me like an hour to type out one sentence. I really need to get this site done and it is taking way too long due to the program being connected permanently! Why not just download all the web files via FTP work ion it on your local server then upload the finished work. Working directly on the running site is quite risky in case you make a major error. Hope this helps. Matt ...Show All
Visual J# Converting Java Application to visual j#
Hi, I got my existing Application in java(j++ 6.0), which will generatre applet a nd im hosting this in my existing asp web page. As a part of .Net conversion, i rewrited my asp application in asp.net. but main problem i got is with java(j++ 6.0) application. i want to port this application in to visual j#. but visual j# won't support Applet. so can any one tell how to replace my existing java Applet(j++ 6.0) with visual j#. my final goal is to host visual j# application(which will replace the java applet) in my asp.net web page. Regards Baji Prasad.B Asian CERC Information Technology Bangalore. India Hi, You can recompile your applet code into a J# browser control(JB ...Show All
Visual C# AD locked user account
hi I don't know if this is the right place to post this. What property of a AD user object can I verify whether the entry is locked or not You wouldn't happen to know how to change the locked flag for a user I can't find anyone that knows how on a 2003 AD. Thanks, Joel Hess ...Show All
