Moshazu's Q&A profile
Visual Studio Express Editions How do i get text off a window.
How would i get text off a window that has 3 text box's that i need all 3 from and get the window title And the classname always changes ...Show All
Visual Basic Skinning Application
How can I apply a " not-windows-style " to my VB Form Is there a Control that can skin my application Thanks so much!! Sorry for my bad English ... Hi everybody! I think I found a little answer for this post. My answer is the next: I put transparent the backcolor of my windowsform, then I start to paint diferents images in my form, this images are in a folder with my app, called "skin", the images are: C1 Corner left-top C2 Corner right-top C3 Corner left-bottom C4 Corner right-bottom bottom left right top center ...Show All
Visual C++ Lost VC++ 2002 CDROM, need replacement - Where to get?
Hello, I have lost a required disk to install VC++ 2002. I forget the name of the disk, it is some type of support or prerequisite disk. Does anyone know a number I could call at MS to order a replacement, some place that would have a list of all the disks that came with VC++ 2002 I still have my serial number. All I need is this one stupid disk. If anyone would be so nice as to offer to send me a copy I think that would be OK as I have my own serial number. I don't know anyone else who programs in VC++ or I would have gotten a copy from someone I know. Won't someone help Thanks, ...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
.NET Development GetHostEntry return my loopback address
Hi, I have a server with to network adapter cards (two different subnets). I'm trying to start a listner on both, but the GetHostEntry return only one adapter and it's the loopback one ! This is the code used to get IPaddress: (lbxResult is a listbox) -------------------------------------------------------------------------- Dim InterfaceId As Integer Dim IpHostInfo As IPHostEntry IPHostEntry = Dns.GetHostEntry (System.Environment.MachineName) For InterfaceId = 0 To IpHostInfo.AddressList.GetLength(0) - 1 lbxResult.Items.Add(IpHostInfo.AddressList(InterfaceId).ToString) Next - ...Show All
Visual Studio 2008 (Pre-release) Exceeded MaxItemsInObjectGraph quota
I am getting the following error: </StackTrace><ExceptionString>System.ServiceModel.CommunicationException: Error while trying to serialize parameter xxxx . Exceeded MaxItemsInObjectGraph quota. Maximum number of items that can be serialized or deserialized in an object graph is '65536' ---&gt; System.Runtime.Serialization.SerializationException: Exceeded MaxItemsInObj Can somebody tell me how to change the MaxItemsInObject quota via my app.config file So you are saying the following configuration is invalid < behavior name = " BsiServiceBehavior &quo ...Show All
.NET Development Canonicalize XML while Streaming using XmlTextWriter
Hi. I have a huge XML document (too big to load into memory > 2 GB). I want to read this document in a stream, and write it out to a new file in a somewhat canonical form - that is, I want the namespaces just to be declared at the root element, and not in each node. Here is my current process I am trying to develop : I read through the document once and collect all of the namespaces. I then want to read through the document again, write all the namespaces at the root node level declaration, and suppress the namespaces from all other nodes as they are written. I call the writer's WriteNode method, passing in my XmlTextReader. ( ...Show All
Visual Studio 2008 (Pre-release) Treeview with contextmenu
Hi Guys, Does anyone know how to display contextmenu per items in the treeview For example I have contextmenu1 and contextmenu2. I want to display contextmenu1 if the selected item in the treeview is parent and I want to display the contextmenu2 if the selected item is child . I've tried to include it in the styleselector but I'm getting an error and I also tried it in the HierarchicalDataTemplate but it's not working either. Did I overlook something Thanks in advance! Below is the code in the HierarchicalDataTemplate --- < HierarchicalDataTemplate x:Key = " Template " ItemsSource = " {Binding ...Show All
Visual Studio Team System Separating project setttings & rules from messages
I'd like to know how to separate project and rule settings from the messages that are placed into the resulting .FxCop file This seems like a fairly easy thing to do though I have a feeling I'm being dense : ) - can anyone help TIA I was able to answer my own question - doh! I found the ability to exclude the Messages being saved with the project settings and rules by going to Project | Options (Standard Tab) and unchecking the "Project checkbox" in the Save Messages control group. sorry about the wasted bits : ) ...Show All
SQL Server Subscription to Include report as Excel got error!
What I am trying to do is subscribe a report and send it as Excel. I created two users under my SQL Server 2005. They both got sysadmin privilege in SQL server. 1) user1 2) mydomain\user1 I have tried to use each of them and still getting different error messages. Test1 ==== I setup the datasource in VS2005. option "Use a specific user name as password" Username: user1 Password:password After I deploy the reports and override the existing Data sources in Report Server. Here is the result 1) Run Report (no issue!!) 2) Subscribe report with "Include links" option(no issue!!!) 3) Su ...Show All
SQL Server SELECT GROUP BY - T-SQL vs. MySQL
Hi, I have a problem to get the following query going which works fine in MySQL: SELECT MAX(id), col2, col3, col4 FROM mytable GROUP BY col3 So, what I want is to select the row with the highest ID from a group of rows with the same value in col3. How would that be done in T-SQL Thanks, Tom One way SELECT t1.ID, t1.col2, t1.col3, t1.col4 FROM (SELECT MAX(id) as MaxID, col3 FROM mytable GROUP BY col3) t2 join mytable t1 on t2.MaxID =t1.ID and t1.col3 =t2.col3 Denis the SQL Menace http://sqlservercode.blogspot.com/ ...Show All
Visual Studio Team System Team Foundation Server Beta 2 Refresh Install
Is it possible to use the Team Foundation Server Beta 2 Refresh on a server that has the Production Code for SQL Server 2005 Enterprise Edition installed on it Everything was going fine with the install until I it came time to install Team Foundation Server and then it failed. ...Show All
Visual Studio Express Editions I do not want SP2. I do not want SP2.
Hi. I run on Windows XP Professional SP1 and I really need Visual Basic .NET Express edition, as SharpDevelop2 is very buggy (atm). The thing is: I do not want SP2. Please do not flood me with comments such as "BUT OMFG SP2 PWNZZZ SP1 ! !" but tell me one good reason why to update into it. Not "security", not "more stable", but something real. Incase it comes with some updates needed by the Visual Studio's, why not make the user able to download them just like that, not some massive load of bugs Is there a way to override the SP2 check Microsoft gives everyone freedom of choic ...Show All
Visual C# Error sending filled form via email
This is the code I use to send my form via email: protected void sendMail(string strFrom, string strBody) { //create the mail message MailMessage mail = new MailMessage(); //set the addresses mail.From = new MailAddress(strFrom); mail.To.Add("myEmail@myDomain.com"); //set the content mail.Subject = txtSubject.Text; mail.Body = strBody; mail.IsBodyHtml = false; //send the message SmtpClient smtp = new SmtpClient("noAuth.myDomain.com"); smtp.Send(mail); } And this is the error message I received: Server Er ...Show All
Software Development for Windows Vista WorkflowRuntime.CreateWorkflow overloads
I have not been able to find any information about two CreateWorkflow overloads in the WorkflowRuntime class: CreateWorkflow(XmlReader workflowDefinitionReader, XmlReader rulesReader, Dictionary<string, object> namedArgumentValues) and CreateWorkflow(XmlReader workflowDefinitionReader, XmlReader rulesReader, Dictionary<string, object> namedArgumentValues, System.Guid instanceId) I have two questions: 1. Given that there are issues with argument passing and Xaml-only (or "no code") defintions, do these methods have any purpose 2. If yes, can you provide some information about the "rulesReader" ar ...Show All
