Thomas Pagel's Q&A profile
.NET Development Required To post XML data to SSL enabled Server IIS 5.0
Hi, I have to post XML fILE TO A server IIS 5.0 which is SSL eanbled Following is the code that accpets the data posted to THE IIS 5.0 SSL enabled server using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Web; using System.Web.SessionState; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; using System.Text; using System.Configuration; // must add reference to project, not there by default! using System.Diagnostics; using System.IO; using System.Net; namespace WebApplication2 { public class WebForm1 : System.Web.UI.Page { ...Show All
Architecture Solution Design?
I was wondering if anybody could give me a few pointers on designing a large solution. We have a rather large application written in a legacy codebase that we are rewritting from the ground-up in C# 2.0. One of the problems I constantly face is the fact that I would like to break things up into separate projects to group common things together but then I always face the problem of "circular references". Can some of you folks who are developing large applications give me some insignt in how you structure your solution(s) I have thought about having separate solutions, but that seems to defeat the purpose of having multiple projects in the same solution! Here's one example of a problem that I face. I want to segregate al ...Show All
Visual Studio Team System Validation Rule: Find Text - Regular Expression
I need to verify that a transaction id and confirmation id were actually returned. Both values appear on the page but I do not know what the exact values will be. The transaction id should be six digits long and the confirmation id should be 16 characters long (0-9,A-Z,a-z). The challenge is that I am trying to use a web test and I want to avoid writing code if at all possible. The Find Text Validation Rule has an option to set "Use Regular Expression" to True, but I am having trouble finding examples using this. Can anyone give me examples of how to use Find Text to search for transaction id = 123456 or confirmation id = 12345abcd67ef89gh when the exact ids are not known Thanks in advance... ...Show All
Visual Studio Team System certified exam
Hi, i want to know any professionally certified exams for test engineer. plz help me. Hello, Here's the link for Microsoft Certifications webpage. Hope it helps: http://www.microsoft.com/learning/mcp/default.mspx Thanks, David Gorena Elizondo [MSFT] VSTS ...Show All
Visual Studio Team System WHAT IS INCLUDED IN VS For Software Architects and VS for Softwware Developers
Can anyone point me to documentation as to what actual software is included with each of these subscriptions Needless to say, this has to be the most confusing and insane change Microsoft has made to date. Unbelievable. Is the confusion on purpose We just want what we had previously but can't even determine how to get that. Is the goal to push developers toward Java/Linux Have you had a look at: http://msdn.microsoft.com/vstudio/teamsystem/products/compare/default.aspx As with any radical shift there is bound to be confusion and some of this has been a result of Microsoft responding to market pressures by changing the subscriptions models, but I would rather they did this than to stick with models ...Show All
Visual Basic Passing variables between forms
Hi, I'm having problems passing variables from form to form. My situation is that I launch an MDI form and within this the user can launch any number of child forms with names which can be derived by the user (I have no idea what these might be). These child forms can then launch modally a generic form which acts dependent on variables passed from the child form. I understand that within the child form I can set a shared/public variable but can't see how I can access this without knowing the form name. Any suggestion would be much appreciated. Cheers John You might want to try to use events to link your forms together. Make each parent form listen for events in each child form. As for kno ...Show All
.NET Development How to call a web service without adding a web reference...
Hi Guys, Hopefully this is a fairly simple one... I need to call a web service from a c# class without actually added a web reference to the project. Obviously I need to handcraft some HttpRequests and interpret the responses manually, just want to know the best way to achieve this. Is there any base class in the framework that'll have a URL property and a method such as CallWebMethod(methodName, param object[] parameters) Did do a search, but couldn't find anything that was quite what I wanted to achieve. Thanks in advance, Simon. Hi delly_jm, Thanks for the reply. My situation is like this, i need build a dll/library to support Reporting Services report management through reporting service ...Show All
Visual Basic Help
hi people i hope you guys can help with this problem. first, i have two variables(line,star) and i have create a loop that prints out asterisks. my mission is to get these programs to work, and so far i have the richtextbox and 2 buttons that say clear and other that say loop 1. now the problem is that i have trouble writing the code to make this works. so far i got this Dim Line, Star As Integer For Line = 10 To 1 Step -1 For Star = 10 To Line Step -1 RichTextBox1.AppendText(Str(Line) + " * " ) Next Star RichTextBox1.AppendText(vbCrLf) Next Line but i supposed to get this answer *** ** * but what i got is different from that. so i was wondering if can help me out. Ins ...Show All
Gadgets for html generaotr gadget..
hi~. now, i make html generator gadget. simply... when i type some content in my gadget's text area.. and click generate button than ,, html content be generted. . my question is here. do you know webpage that have html genertrator javascript code(or article). if you know. tell me plz. or not, any feed plz~. ...Show All
Visual Studio Express Editions Can I use VBE 2005 classes in Excel 2003 VBA code?
I have a class library that I'm developing in Visual Basic Express 2005. I can use the classes in other projects in VBE, but I would also like to use them in VBA code in Excel 2003 (i.e. in the VBA code I want to be able to create instances of the classes from the class library). If that is possible, can someone please give me step by step instructions Are you using a classlibrary project If you are then the command is most likely not supported in VB Express. At any rate, you'll need to do the following two steps manually (from the visual studio command prompt): Export the TypeLibrary Register the DLL You'll have to run the tlbexp and regasm commands respectively. T ...Show All
Visual Studio How do I set a data breakpoint?
I have tried both native and managed projects, running and not running apps, but the 'New Data Breakpoint' option is perpetually disabled (greyed out) in both the main debug menu and the break points window. In MSVC 2003, the breakpoint setup was straight forward. Could someone please tell me how to get this working I created an app like this: int _tmain( int argc, _TCHAR* argv[]) { float a,b,c; (breakpoint) c=0; a=.23; b=.45; c=a+b; (breakpoint) cout<< "Hi there!" ; return 0; } So when I hit the first break point, I set a data breakpoint when "&c" changes in the C language with 4 bytes (default). And yet it only stops on the cout line, not on the ...Show All
Visual Studio 2008 (Pre-release) WPF Wizard
Hi all, Im wondering why its so hard to emulate a vista LAF wizard in WPF... i mean i cant have a window without an icon in the top left in WPF. I need to emulate the vista wizards i.e. no icon in window, but one in the task bar button. The reason i have to do this is because our software is used under XP as well. I also need to to optionally have the min/max buttons in the top right of the window. Regards, S> There is no built in way of not showing an Icon for WPF Window class apart from not showing the frame at all (WindowStyle.None). However, you can use SetWindowThemeNonClientAttributes to hide the icon. The min/max buttons are controlled by ResizeMode property on the Window c ...Show All
Visual Basic Call of Duty for a beginner
Hello, I have a problem here, i don't know how to write a code to launch programs from a tool strip item that was gotten when the form was loaded by a mouse click, the code is: Private Sub form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load For Each filesfound As String In My.Computer.FileSystem.GetFiles("C:\", FileIO.SearchOption.SearchTopLevelOnly, "*.*") Dim fileico As Drawing.Icon = System.Drawing.Icon.ExtractAssociatedIcon(filesfound) Dim fileimage As Bitmap = fileico.ToBitmap() Dim filename As String = IO.Path.GetFileNameWithoutExtension(filesfound) Dim item As ToolStripItem = filestsmi.DropDownItems.Add(filename, fileimage) Next end su ...Show All
SQL Server Enter Data in a mask format
sorry for my question, maybe it seems un professional but I need to know the answer, is it possible to enter the data in a sql table in a specific format and how it could be for example I want to have a mask in the table to enter the data in this format ##.## so it will not accept any other data to be typed in without this format. Regards Those were just examples that you can start with. What i was saying was you may consider looking at Constraints . For the solution,you still have to work for it to fit your needs. . Just a bit of advice, if you want to provide an interface to the end user you might as well design it in a frontend application like vb.ne ...Show All
Visual Basic how to build .dll file from vb.net web site ?
hi i have developed a web page using file > new website step (vb.net code begind ) now i need to build that web site and get thier .dll file when i go to solution explorer and select the property pages i cant see any options to build .dll in to the debug or release folder how do i do this task regards sujithf For web related issues you may find that the forums on the asp.net site are able to provide you with a better response. forums.asp.net ...Show All
