PK2000's Q&A profile
Visual C# using ExecCommand to copy in MSHTML
I am working on an editor using mshtml. I just cannot get cut / copy / paste to work with ExecCommand. All other command identifiers seem to be working well. Here is my code: public partial class Form1 : Form { private static HtmlDocument htmldoc; private bool fireonce = false; // fire previewkeydown only once public Form1( ) { InitializeComponent( ); } private void Form1_Load(object sender, E ...Show All
Visual Studio Tools for Office New to this - how to embed in outlook?
I apologize in advance if this is not the correct place for this post. I am trying to get started on an addin (using vs.net 2005) for outlook that will essentially be winforms workflow interface that will run inside the outlook environment. Part of this interface really has no real relation to outlook except for the fact that i want it to run inside the outlook interface (although parts do - creation of tasks, calendar events, etc). I want ...Show All
Visual Basic RejectAllChanges in excel workbook
I am using excel worksheet and vb to code. Tell me how to use workbookname.RejectAllChanges(when,who,where) in vb with a sample code. ...Show All
Windows Forms Number by "," separater in maskedtextbox.
Hello~ I wrote the mask "#,###,###" in the maskedtextbox. 1. And then, I wrote the value "12345". I want to display "12,345". But, it is displayed "1,234,5". 2. Before I key in the value, it's displayed "_, ...Show All
SQL Server another simple question, please help, thx a lot!
I have some issues for remotely connection a sqlexpress server 2005 with a c# desktop app, in my local network, after I set a port forwarding service for the computer which runs sqlexpress server, I want my c# app connect to the sqlexpress server in another machine under same local network, the connection string is: "server= 62.31.81.210.\SQLEXPRESS,1921; Database='EvoHealthSQLex'; Integrated Security=True" however, that one only work i ...Show All
Visual Studio 2008 (Pre-release) Encrypt and sign messages
We're trying to get the messages that we exchange between our client and server encrypted using the wsHttpBinding. We've added the following to our configuration file client & server side: <security mode="Message"> <message clientCredentialType="Windows" negotiateServiceCredential="true" establishSecurityContext="true" algorithmSuite=" ...Show All
Visual Basic Access or SQL Which one is better
Hi I'm wondering, which one would be better, i'm creating 2 medical programs, that are going to be running on a local machine, I Use visual Basic 2005 express and don't know if I should develop with access or SQL 2005 express. Which one is better and faster Any suggestions or comments will come in handy. PS. Future versions might have network connections, like for a secretary or interoffice connections. So should i work on access or ...Show All
Windows Forms Replicating VISIO Functionality (IMPORTANT)
I have to replicate VISIO's ability to create the FLOWCHARTS using VB.NET. Please provide me a basic roadmap, as to how should I proceed . I am new to GDI and am going through the basics through the material and source code availaible ove ...Show All
Visual Studio Report Does Not Print
Hi I am using the Visual Studio 2005 Report Viewer control. When a user runs one of our reports, it previews on the screen correctly without any problems. However, when they click the built-in printer icon to print the report, it goes through the motions but never prints the report. A dialog box comes up and allows them to select a printer. If they select a printer and click "Print" it shows printing page 1 of 4 thru page 4 of 4, but ...Show All
.NET Development Problem with using dll with <object> in ASP.NET
Hello, I have an asp.net application, that is using one DLL to connect to twain source. I am using the following code to embed the dll to the page < OBJECT id ="Twain" height ="1" width ="1" classid ="Atalasoft.DotTwain.dll#Atalasoft.Twain.Acquisition" VIEWASTEXT > </ OBJECT > and this javascript code to use the object: function AcquireImage() { v ...Show All
Visual C# Why to use Interface IDbConnection,IDbDataAdapter .Its real time use????
Hi, I could not understand real use of this syntax IDbConnection myConn = new SqlConnection(); IDbConnection myConn = new OleDbConnection(); IDbConnection myConn = new OdbcConnection(); We can also use for SqlConnection System.Data.SqlClient's SqlConnection class . Then why to use Interfaces.... Please give architectural benefit....any example will be more help full. regards ashok Hi As ...Show All
Visual Basic FileStream: Write / Read
Hi everybody, I need to save some strings in a txt file. I also had a solution that worked quite good. But now there is a small problem. It wirtes always one line to much, but it's not just an empty new line its always has some characters in it. The values looke like this: name1=value1 &nbs ...Show All
Visual Basic class library
Could some who is already familiar with the developement environment please tell me if it is possible to build class libraries as a compiled dll file, or is this restricted to the full versions like 2003 was Thanks for any help.. I currently have a universal subscription and use the pro version of 05, however, i have previously installed the "Standard" version 03 and did infact try to create a DLL...can't from w ...Show All
Smart Device Development Developing VGA Aware Applications
I think one solution is to make an ImageList with higher resolution versions of the same images you currently use. Based on the resolution you then select what ImageList to use, the old low res or the new high res. Be sure to have the matching images at the same index in the two lists. You'll find some info on how to figure out the resolution here: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnppcgen/html ...Show All
.NET Development Size of object at runtime
Hello Friends, I wanted to check the size of the object (Entity & data storage) when the application is run/running. what could be possible ways My application is ASP.net based C# code behind application. Thanks in advance friends. Manohar Application Developer Hello Manohar, Are you asking for the size of the [managed] object in memory Are you asking for the size of an object when serialized Are you asking for the size of data wh ...Show All
