Tor2k's Q&A profile
SQL Server Replication to IP addressed server
we have an outside company that replicates to us and we are known to them via an IP address. We get an error now...Sql Server 2005 now does not support a server Alias, IP address, or any other alternate name are not supports. Specify the actual Server Name I tried putting in the hosts file on their server 168.168.110.2 SQL2005 able to connect to our server through Studio Manager...no problem.... replication....no dice what is the work around to make this happen, I am not a network guru...know enough to kill someone, but I need to get this to work before I can move to the ne ...Show All
SQL Server Combining text data rows
I am working with a database derived from text documents. One of the tables (TEXT001) contains the text of the documents with each paragraph of each document assigned to its own row with a paragraph number in a SectionNo column. I want the entire text of each document in a single row with its own unique number (so that I can do a full text search with SQL Server 2005 that will search and return the entire document as a result). How do I combine the rows with the same DocumentID into a single row of text data This will put the entire text content of each document in its own row. TEXT001 table as it is Documen ...Show All
.NET Development tabControl bugs in VB.Net 2003
I have been working with tabControls quite a bit lately and have noticed a couple of annoying bugs. One of these bugs are that I set the order of my tab pages collection and when I compile my project the tab pages end up in a different order all by themselves. Another problem is that when I try to delete objects that are on tab pages I am unable to do so by right clicking and clicking on delete; the delete, copy, and cut options are greyed out. Selecting the object and pressing delete doesn't work most of the time either. The only thing that does work sometimes is to delete the control from the "Windows form designer ...Show All
Windows Forms Screen and paper coordinates
How I can transform paper coordinates to screen coordinates (and other way) using GDI+ First obtain the printer resolution (DPI) and you can now scale the units in your Graphics object. Is as simple as it states. Using GDI+ is much easier than it was. Give it a try :) ...Show All
Visual Basic Outlook add-in not working under Outlook 2003 need suggestions please
Hello everyone, First off thanks for any help, suggestions, or advice that you can give me. Here is the background: I have an add-in written in Visual Studios .NET 2003 that is working in Outlook under Windows 2000 Professional. The button for the toolbar appears where it is supposed to and all is good. Here is the problem: We have some new machines now that are running Windows XP Professional and Outlook 2003 and the button for the add-in is now appearing only on the toolbars once you open an email, whether it is a new email or an old email. The button is not appearing on the main application dialog. Does anyone have any s ...Show All
.NET Development Sending Email problem (.NET 2.0)
Hello folks! I'm trying to send email using the new classes of .NET 2.0, with the following code: MailMessage msg = new MailMessage(); msg.To.Add("bribeiro@certisign.com.br"); msg.From = new MailAddress("bribeiro@certisign.com.br", "Bruno Ribeiro", Encoding.UTF8); msg.Subject = "Teste de envio de emails usando .NET 2.0"; msg.SubjectEncoding = Encoding.UTF8; msg.Body = "Este e o corpo da mensagem."; msg.BodyEncoding = Encoding.UTF8; msg.IsBodyHtml = false; SmtpClient client = new SmtpClient(); client.Credentials = new NetworkCredential("bribeiro@certisign.com.br", "xxx ...Show All
Visual Studio Express Editions How do you change Data Type
Hi Folks, I made a DataBase application with 4 forms. Three have DataGridViews. The program connects to an Access DataBase. On one of the Tables of the Access DataBase, when I first set it up, I set the DataType to Integer. This was a mistake. It should have been set to Double. I get Format Exceptions when entering Doubles into a DataGridView box. I changed the DataType to Double in the Access DataBase but it's like stuck in the application DataSet. Short of deleting all the TableAdapters, BindingSources, etc. How can I set a Column in the DataGridView to accept a Double instead of an Integer Thanks much. ...Show All
Windows Forms Help with Custom Form Design(NicePanel ) Problems
I'm referenced my 2 books and they just dont go into detail at all on Building a Custom Form Sytle until i can buy either Pro .NET 2.0 Windows Forms and Custom Controls in C#2005 or Pro .NET 2.0 Graphics Programming... Which i do plan on buying both of them sooner or later...lol I'v been trying to get a Flat Appearance with a Round edges..I tried using the Code in several spots with no Prevail...So please bare with me as i'm still fairly new to C# and .NET... using System; using System.Windows.Forms.VisualStyles; namespace Test { public partial class Form1 : Form { public Form1() { InitializeComponent(); ...Show All
.NET Development How have been used the Microsoft Dynamic DHTML Editing control?
I use Microsoft Dynamic DHTML Editing control to develop a BBS of my website.I met a question is : You should know if I input a url like www.microsoft.com , I get a link now. However,I want this link have a target="_blank" in my own website. Do you know how to implement it Thank you for coming! Hi there, this forum is particularly focused on Web services, so there might not be any folks here who can help you with your ASP.NET web development question. I think you'll have more luck with this question on the ASP.NET forums at http://forums.asp.net/ . Regards, JJustice [MSFT] ...Show All
Visual C# simple editor using webBrowser control
Hi, I am working on an editor using the htmldocument in the webbrowser control. This is my code for testing out its capability: private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e) { htmldoc = webBrowser1.Document; htmldoc.ExecCommand("EditMode", true, null); } private void webBrowser1_PreviewKeyDown(object sender, PreviewKeyDownEventArgs e) { // process key pressed switch ( e.KeyCode ) { case Keys.I: if ( e.Alt ) { htmldoc.ExecCommand("Indent", false, null); } // end if ...Show All
SQL Server Error message for null at SET or aggregate
The following code works perfectly when run by itself: DECLARE @DateTransaction smalldatetime DECLARE @TradeDate smalldatetime SET @DateTransaction = (SELECT Max(DateTransaction) FROM tblImport) SET @TradeDate = (SELECT Max(DateTrade) FROM tblSystem) PRINT 'The Transaction Date is ' + CAST(@DateTransaction as varchar) + '. The Trade Date is ' + CAST(@TradeDate as varchar) However, it is part of a long stored procedure, and when it runs there, I get the following instead of the line confirming the two dates: Warning: Null value is eliminated by an aggregate or other SET operation. What could be interfering with this section of ...Show All
Windows Forms Application.DoEvents is Evil ...Help
I have two progress bar to show two background process...to keep form responsive i used Application.DoEvents but its not worth it. When I start my first background process the form is responsive due to Application.DoEvents() so i start another process ....but it stops 1st thread and starts the second one....after completing second one it starts first one.. How to run them simultaneously....with form remaining respnsive. First of all you want to make sure that your user interface is always based in one thread. Second you want to use worker threads for your long operations in order to prevent the whole application locking up wh ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectPlay Voice Error
I have a problem with DirectPlay Voice. I can use microphone I have windows xp home + sp2. In windows xp pro i havenn't this problem. I have a messege from windows "Error instalation program DirecPlay Voice. Code Error 0x80004005." This forum is for DEVELOPERS using DirectPlay not people playing games that use DirectPlay. Please contact the publisher of the game or your local Microsoft support center for help with games. Or try the microsoft.public.windowsxp.games newsgroup ...Show All
Visual Basic DirectX confusion?
Hi There, I have been trying to integrate some Direct X functionality into my VB.NET application and am finding it incredibly difficult to find code samples with VB.NET code instead of C# examples which are everywhere! When I have found a few VB.NET code samples that I can understand, they won't run on my machine because I am running a newer version of Direct X (DirectX 9c) and this version is apparently not backwards compatible with the previous releases of DirectX. This is very frustrating and I would like to know if anyone knows of a good source of comprehensive VB.NET code samples for use with the latest version of DirectX Thanks in adv ...Show All
Windows Forms PInvoke question
Hi I would like to make a call to the unmanaged code using PInvoke, yet I found that there is a little documentation in the internet which most of them are form microsoft web sites, I hope some one can tell me where to look for infor about using PInvoke. And I found some articles in http://samples.gotdotnet.com/quickstart/CompactFramework/. About using PInvoke&n ...Show All
