Inquisitve2's Q&A profile
.NET Development How to send and receive xml data via HttpWebRequest/HttpWebResponse in windows forms applications.
I am having hard time to post xml data to my web site (or to aspx page) which is running on IIS server. I am trying to post the xml string from windows form application. I am using “HttpWebRequest” class and reading the response using “HttpWebResponse”. My code works fine when I send plain text data, By setting request.ContentType=@"application/x-www-form-urlencoded ". When I try to send xml string I get 500-server internal error. I changed the request.ContentType= "text/xml;charset=\"utf-8\""; now error disappears. But when I debug my aspx page in web site, I don’t see any values coming in t ...Show All
Software Development for Windows Vista How to make a StateMachine which show the terminal user to see the status of Squence workflow
In my case, the second step is from a main table to entry a sub table, however, the main table page does not close. The system can keep this page and reentry into sub table by different option. (It means that, my workflow can go back last state). I think the we should use StateWorkflow to achieve the functionality. However, there a problem. I wish the follow a simple order processing which always from main table to entry the sub table, to show the contain to terminal user.(It's just a simple sequence workflow). How can I achieve the interface layout The scenario is that there are three pages(A,B,C) makes workflow A->B->C (a simp ...Show All
Windows Forms need help in creating DLL with resources
Hi All, I have windows project and have lot of windows forms and images in my project. I dont know how to add images and resx files to DLL. I would appreciate if anyone posts solutions to my question Thanks To do this via the command line, use the C# compiler (csc.exe) with the /res option. http://msdn2.microsoft.com/en-us/library/c0tyye07 ...Show All
Visual Studio Express Editions Please enter a different password.
Wow!!! That wasn't so hard at all. If it only were posted on the security page or had some help link to it spacifying. ...Show All
Visual C# Access Web Form member from it’s hosted windows user control
Hi. I have a web app that uses a IE hosted windows user control. I would like that, somehow, lounch an external event from that hosted control that I could catch in my web form’s code behind or set a web form’s member value. Does anybody know how to do that I would appreciate any suggestions! Thanks in advance! First off you need to define your interface. This is a simple interface declaring the events you will fire, and any properties/methods you will access from the web page. It needs to be visible to COM, so use the following as a template: [GuidAttribute("1F98211C-7A71-4588-8D4A-AD85CA80BAE7&q ...Show All
SQL Server Microsoft Data Link Error
Dear All! I use a Microsoft SQL server 2005 under windows 2000, and I would like to connect to this server from an another windows 2000 computer under Access 2003. When I click to test connection buttom, I get an error mesige: "Test connection failed because of an error in initializing provider. Login faild user 'raktaros'. The user is not associated wth a trusted SQL server connection." The 'raktaros' is a user on the server computer. Please help me, what is the problem. Best regards, Labi Is he a SQL Server user or just a windows local user on the server. The latter won't wo ...Show All
SQL Server Graph Creation Question
I am trying to port an entire report generation "system" from Excel to Reporting Services. There are a couple of graphs that I am having trouble setting up in Reporting Services. In particular I am trying to generate a stacked bar graph with 2 groups of stacks that are set directly next to each other. We are presenting the top ten fund investments displaying investments dollars and distribution dollars in stacked bars side by side for each fund (there are several different components of investments and distributions that we want to display). I have gotten close using categories, but I cant figure out how to remove the group brackets and labe ...Show All
SQL Server Keeptogether Textfields is absurd
Is there ANY way to definitely disable keeptogether for textfields I have two textfields side by side in a rect in the detail-area of a table. If one of the textarea contains a certain amount of text it is completely rendered on the next page. So many users think that there is no text at all, because its place on the "first" page is completly empty! Whats the matter for this behaviour The reports look poor and the users are confused! Please give me a reply, I am going crazy with that keeptogether-stuff.. Will this be fixed in SP1 Best regards’ Benjamin ...Show All
Visual C# Reading large .csv file loading is very slow.
First let me state that I am very new to C#. I learned C++ in college but that was in 99 and have been coding mainly mainframe since then. So I am kind of new to the .Net platform as well. The problem that I am having is when I am loading in a .csv file it is taking a long time before the user can do anything because the program is busy loading my data into my array. Is there a better way for me to do a read then using StreamReader. Here is a snipet of code where I am doing the load. Any help would be greatly appreciated. private void openFileDialog1_FileOk( object sender, System.ComponentModel.CancelEventArgs e) { st ...Show All
Visual Studio Team System Issue with playing back Web Requests with Body set to XML (Querystring parameters fail also) fails
I had to use Fiddler to record my scripts because Visual Studio didn't support recording ActiveX controls. Fiddler was placing query string parameters in the webtest file it creates in the StringBody element which loads into the Web Test Request Body property through an StringHTTPBody object in Visual Studio. When this was executed the HTTP response code was successful (200) but the response XML told us the query string parameters where not passed correctly because it could not find a value from one of them. Also I noticed there were 3 extra characters sent over in the request body: EF BB BF. To fix this I ...Show All
SQL Server Formatting the date on report
Reporting Services 2005 (SQL Server 2005 CTP V 9.00.1187.00) I have a date field and I want to format it on a report like: January 9, 2006 Seems to me that should be pretty simple. But I can't find the correct format code. If I look at the textbox properties and go to the format tab, there is an option for Date, but there are only 3 choices: 1/9/2006 9:47 AM Monday, January 9, 2006 1/9/2006 If I choose custom I found that Y gives me: January 2006 and M gives me: January 09 This is rather frustrating. I'm sure I could modify my source SQL to get each part of the date and past it together ...Show All
SQL Server XML Config files
I am new to SSIS. I created a XML configuration file for my package. I found lots of data on how to do this but I can't find anything on how to get the values back out. I am trying to get them out in a Script file. Any help and maybe examples would be appreciated. What are you doing with a script file, I don't understand what you mean, or why you need to do something else like this Configuration files are used to set properties within a package, that is all. You assign the configuration to the package and it reads and sets the values for you. ...Show All
SQL Server Bug or Feature?
When upgrading a database from MSDE to Visual Studio 2005 Express, I've noticed that the system tables in the MSDB database don't get upgraded. For example, the SYSSCHEDULES table doesn't get added. Is this by design or a bug -Doug I did find a fix to this problem. If I run the INSTMSDB.SQL script from the install directory on the updgraded database, it will install all of the new MSDB system tables. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA needs visual studio 2005?
I am working with Dark Basic Professional and want to check out XNA. I have visual studio.net I can't find if XNA will work with VS.NET or if I will be forced to upgrade to VS 2005. Knowing Microsoft they will use XNA to drive sales of every new version of visual studio that gets released. So will XNA work with visual studio.net Sorry if I sound bitter about all the new version of visual C. I don't have a lot of money and I keep hitting roadblocks. Are you speaking of XNA Build or the framework XNA Build will install the Visual Studio IDE so you don't need to purchase any Visual Studio product for it to work. We don't have any pl ...Show All
Visual Basic VB6 WME Help Files
I am new to programming. I learned how to do it using VB5 CCE from a disk at the local library, and I have just now gotten VB6 Working Model Edition. One of the first things I noticed is that is does not have help files. If there is a place to download these, please tell me!! In addition, I know I wouldn't be able to find this in any help files: Is there a way for the program to add a number to a variable without nesting For example, in a program that does mulptiple taxes at the same time (bad example), there would be something like "strTaxDeduction & '1'", except I would like the computer to do the work for me, if you get ...Show All
