zhackwyatt's Q&A profile
Visual Studio Express Editions Where I can find link to download VS2005 Express?
I tried to find link to download Visual Studio 2005 Express. I coulnt find it.. Where I can find link to download VS2005 Express Thanks If you develop a web application that has certain requirement you will need to host that fulfills thos requirements. You should contact your ISP to find out if they can host your application, alternativly find a new host. ...Show All
Windows Forms Web Control in Windows Form
Hi, I have the following problem (VB.NET 2003 ENTERPRISE): I have a .CFM web page and I have to populate, from VB, two textbox on it. I was thinking using sendkeys (even if I don't like it too much) but when I open the web browser and navigate to the selected page, I cannot set the focus to the html part of the control (only the web control&n ...Show All
Visual C# Dispose class members
I have Form class and some members in it which implement IDisposable interface (not controls). These members must be disposed in the form Dispose function. But Dispose function is placed in Designer.cs file and managed by form designer. How can I add my own cleanup code Alex, You are able to modify the Dispose method within the Designer.cs file, however, you can also move the entire Dispose method into the main class file. Regards David ...Show All
Windows Forms Updating A Context Menu At Run-Time
Below I have listed some sample code that I wrote to demostrate the problem I can't seem to fix. I have a contextmenu that contains a menuitem I wish to update at run-time, I've created a simple sub that does this. When the sub is called from the Form1_Load it runs fine, and the menu is displayed. The problem occurs when I ...Show All
SQL Server Using WebService Task
Hello, I'm trying to use this web service : http://office.microsoft.com/Research/Providers/MoneyCentral.asmx WSDL i get an error : "This version of the Web Services Description Language (WSDL) is not supported" What's wrong This is the default error for all parsing related issues the task cannot handle from a given WSDL. In those cases, I would suggest generating the proxy with wsdl.exe, and including it as a reference in a Script Task (or compiling the class and adding it to the GAC if you will have multiple call requirements). Donald Farmer's book Scripting SQL Server 2005 Integration Services has an entire chapter devoted to doi ...Show All
Visual Basic Mathcad DLL
Can I write a Mathcad DLL using Visual Basic 2005 Maybe making one from a class The last VB program I wrote was in VB6 and I've never written a C program, so I am very new to this. I have to make a function available to Mathcad and I only have very old C examples. Hi Bill, Welcome! Yes...... Here's an example with instructions on how to put a DLL together. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=214754&SiteID=1 ...Show All
Windows Forms Drawing a textbox/combo
is there a way to override drawing a textbox or combo i have a MyTextBox control that inherits from textbox, i want it to draw normally if a boolean normal is set to true, or draw as a button/rectangle/frame (or sometrhing else) if the boolean normal is false. I tried overriding paint and paintbackground, not calling the base onpaint etc.. to no avail. ...Show All
Windows Forms Windows Messages
Hi all, I want to send Custome messages from my .NET application to other windows application.I'm trying to use PostMessage ,but the other windows applications doesnt recognise the message i sent.The PostMessage(broadcast) function returns a negative value.This is how i defined the function.. [DllImport("user32.dll",EntryPoint="PostMessage")] private static extern long PostMessageA(long hwnd,long wMsg,long wParam,long lParam); Please help.. Thanks, Suresh. Perhaps you could try two .NET apps, and see whether or not you can get it to work, then switch back to your Delphi/.NET problem. Seems like y ...Show All
Visual Studio Express Editions database saga
I am at my wits end. I am trying to create a program that will add users to a database. I have read the various posts regarding the output file and have changed the Copy To Output File to Copy Never. I have also tried Copy If Newer. The database still does not retain my changes/additions. The code I have used is shown below. Code Here... Private Sub AddUser_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AddUser.Click Dim newUserRow As Database1DataSet.Table1Row newUserRow = Me.Database1DataSet.Table1.NewTable1Row newUserRow.Name = nameBox.Text newUserRow.Password = Password.Text Da ...Show All
Visual Studio Source Control on database objects...
Hello, I want to ask what are the possible scenarios on VSS 2005 + VS2005 Team Suite to source control dababase objects (SQL 2000) Is it still limited to stores procedures as VSS 6.0d + VS2003 do SQL 2005 instead Thanks. Hello, VS 2005 does not have support for stored procedure version control through the server explorer. The recommended way is to use database projects to generate scripts for your SQL Server objects, then use a version control system to manage changes to the project. Thanks. ...Show All
Visual Basic vb6 convertion
I am porting a project from vb6 to vb.net 2005 and I cannot figure out one convertion. 'This Function gets the text of the window Private Function GetText(Get_hWnd As Long) As String Dim lenTxt As Long, retText As String lenTxt = GetWindowTextLength(Get_hWnd) + 1 retText = String$ (lenTxt, " ") GetWindowText Get_hWnd, retText, lenTxt GetText = retText End Function The bold function is what I cannot figure out. I know the String function is the following: String Function String( number , character ) Returns a Variant of subtype String that is of the length specified by number and is filled ...Show All
SQL Server Different indexes - performance analysis question
Hello I'm doing some performance analysis for my application. I'm doing 7600 SQL queries based on the following SQL query: SELECT LocationId, ProductId, BatchId, SUM(Quantity) AS Quantity FROM Logistics WHERE UserId = [number] AND ProductId IN ([productidlist]) GROUP BY LocationId, ProductId, BatchId; Data in table Logistics has LocationId = 1 and BatchId = 0 for absolute all rows in this test, UserId and ProductId may be different. For each SQL Query it's doing, it's also inserting new rows in the table. The table starts with 0 rows for the first SQL query above, ends with 35 000 rows. Execution for both Editions below is exact ...Show All
.NET Development xml data posting and retrieving in c#.net
hi i have to send xml data to the payment gateway which accepts xml data in partuclar format and returns the responce in xml format. I am new to payment gateway, i dont know how to send the xml data and retrive the information. can any one plz help me in this Plz give me any code sample Here's a sample method that uses HttpWebRequest and HttpWebResponse to post an XML string to some URL. The method doesn't really look into the response, it just checks wether the status was "200 OK". The sample can be easily extended to process an XML response by the server side. public void PostXml( string url, string xml) { ...Show All
Visual Studio Express Editions Compiler fails: if ( DocTree.SelectedNode() = Nothing ) Then
I need to compare, if a node of a TreeView is currently selected. Thus, I added this before the actual operation: >>> If (DocTree.SelectedNode() = Nothing ) Then Me .DoDragDrop(DocTree.SelectedNode.Text(), DragDropEffects.Copy) End If <<< The compiler complains: >>> Error 3 Operator '=' is not defined for types 'System.Windows.Forms.TreeNode' and 'System.Windows.Forms.TreeNode'. <<< But why The compiler obviously deduced the correct types, but fails to compare them Idea Cheers, a newbiew Use If (DocTree.SelectedNode Is Nothin ...Show All
Visual C# hashMd5 .ToString() arguments
Im working on converting some code thats part of a login and I dont know how to go about converting this line that is in my hashMd5 function s += z.ToString("x2 ") to C# and get the same effect private string hashMd5( string text) { MD5CryptoServiceProvider md5 = new MD5CryptoServiceProvider (); byte [] b = Encoding .UTF8.GetBytes(text); byte [] c = md5.ComputeHash(b); string s = "" ; foreach ( byte z in c) { s += z.ToString(); // s += z.ToString("x2") - agruments dont work in C# } MessageBox .Show(s); return s; } ...Show All
