Steve_j_maas's Q&A profile
.NET Development Secure Webservices
HI, I have created a simple Webservice with Add operation it..I have made IIS5.1 SSL secured.I have " Require Secure Channel" option enabled in it.Now when i accesed the webservice using https in browser i get "Page cannot be displayed" error. I turned off my windows firewall but no use.Also i looked into browser settings for https connection,it didnt helped me.Can anybody bail me out of this Thanks Venkat did you give a domain name when creating the ssl certificate If you did, you have to use that name and not localhost. For example, if the certificate was created for https://www.xyz.com then you have to use that domain name. Also if you let us know what exact ...Show All
Visual Basic how to invoke method in a class from a C++ dll in vb.net
I know we can invoke a global method from a dll( written by C or C++) in vb.net like you invoke windows APIS, but I want to know if i can reuse classes that implemented in a Dll written by C++. thanks in advance I wonder that if we can use a dll that typically already built in VC++6.0 rather than rewrite directly in VB.NET. By now ,i haven't found the right way to make this work. ...Show All
.NET Development System.Collections.ArrayList sorting improvements
Hi! Short suggestion about this class. It's got several Sort methods implemented. But none of them expects System.Windows.Forms.SortOrder parameter, what would be great. (PS.I know how to implement it.) Cheers, Dawid Ireno. Of course - serving an IComparer implementation would work fine. But that's not the point, is it In .NET Framework there is a lot to do. For example .NET's 1.1 string (the very very basic class!) had no Contains(string) method. Version 2.0 has got it, while it was natural. It was only a matter of time Cheers, David ...Show All
Visual Studio Express Editions Saving and Opening files
I want to save and open a file with a unique extentions. How do I do that are these files you have created you can open any file using the StreamReader and write to any file using the StreamWriter: Dim theReader as new System.IO.StreamReader("C:\someFile.ext") Dim theContents as String = theReader.ReadToEnd() theReader.Close() 'To write: Dim theWriter as new System.IO.StreamWriter("C:\somefile") theWriter.Write("hi") theWriter.Close() there are various other methods also for these classes, check out each class, or visit the following link of achieving common tasks: http://msdn2.microsoft.com/en-us/library/ms404278.aspx does this he ...Show All
Visual Studio Team System Pending changes error
Automatic checkout is enabled for my project. When I make new change to a file, a checkout attempt is made and if the pending changes window is open, I get the following error about 70% of the time: "Attempted to read or write protected memory. This is often an indication that other memory is corrupt." The file will check out, but it will not show up in the pending changes window, if I try to refresh the pending changes window I am greeted by this error again. If pending changes is not open, this error will not occur and if I close Visual Studio and open it again pending changes will load correctly. There is one other developer in the office this is affecting as well, but we can not find a rhyme or reason. Has anyone el ...Show All
Visual C++ How to change data type from unsigned short to LPWSTR?
How to change data type from unsigned short to LPWSTR Thank you very much. In the statement : Code.SetKey(Key); when I compile the project ,it has the following error:Error 955 error C2664: 'CCode::SetKey' : cannot convert parameter 1 from 'unsigned short [50]' to 'CString' e:code.cpp 250. It is a example of change data from 'unsigned short [50]' to 'CString' . I want to know how to realize this data conversion Thanks you very much. ...Show All
.NET Development Reading A Single Line Of An XML Document
Hi, I am using VB 2005 to create a hangman game and have saved a word document containing a list of words as an XML Document. Would someone be able to help me with loading a single line of the XML file into a String in VB 2005, I have tried using Readers etc but haven't got very far. Or better still... is there an easier way to load a single line of text from a file (e.g. a text file) without loading the whole text up to that line into an Array, as I have a file with 100,000+ words, which would take ages to load into an array. Thanks in advance for your help. I think the question is not to load whole database of words into memory. I believe a more efficient way is to seperate wordlists into bins of ...Show All
.NET Development What performance counter must i use for memory monitoring?
Hi! I read that .NET apps memory usage showed in windows task manager isn't correct, and that i must use a performance counter to view the real memory usage of my app ( ). I'm using "Work Space" in "Proccess" category for monitoring my process ... but i get the same memory usage than task manager ... What is the correct performance counter that i must use to view real memory usage of my app Regards. The latest MSDN Magazine has a good article on Investigating Memory Issues with .NET applications: Investigating Memory Issues ...Show All
SQL Server Adding a new reporting action to open the reporting Services Web application and then display a report for a selected reseller
Hi all, I am adding a reporting action. When i deploy the action, it deploys successfully. When I drag afield Reseller to the attribute to the rows and click on Active Cycling to and right click it to display the context menu so to click Reseller Sales Order Details it give me an error TITLE: Microsoft Visual Studio ------------------------------ A list of actions for the selected items cannot be obtained because of the following error. Action(Reseller Sales Order Details) (1, 1) The 'Reseller' dimension contains more than one hierarchy, therefore the hierarchy must be explicitly specified. This error may have occurred because the definition for at least one action is not valid. Verify the definition for each action using the ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How to draw an arc between two points
Im trying to make an application in C# to draw an Visio Drawing. The problem is that I dont know how to implement the ElipticalArc statement in the .vdx file. Is there a way to draw an eliptical arc between two points and thru a control point with direct3d Yetti helped me to solve the problem in a math forum. http://www.mathlinks.ro/Forum/viewtopic.php p=644880#644880 ...Show All
Visual C++ Opening multiple files in a single program instance
This is something that is done millions of times every day... Using Windows Explorer you double click a file to open it, the associated program starts up and the file is opened, if the associated program is already running, then the file is opened in that (already running) instance of the program. Simple... However, I'm having trouble finding how to do this simple feat with VC++ 2005, CLR, CLI, .NET. What is the simplest "supported" way to do this Thank you! This gets me half way there... I have used the mutex method with some old school C code I have done in the past, however is there an "easy" way to pass the command line arguments to the original instance ...Show All
Visual Studio Express Editions database
hello, i have Northwind database and i work with Visual Studio 2005. I display data from database in windows application and now i want to save changes in database when i change data in windows aplication. i tried this but it doesn't work: private void svaeItemClic( object sender, EventArgs e) { try { DataSet changedData = northwindDataSet.Products.GetChanges(); if (changedData != null ) { int numRows = productsTableAdapter.Update(changedData); MessageBox .Show( "Database updated " + numRows + " rows successfuly" , "Success" ); northwindDataSet.Products.AcceptChanges(); } else { MessageBox .Show( "Nothing to save" , "No chan ...Show All
Windows Forms Packet Scheduler miniport Error code 31
Any1 how do I fix this In device mgmnt it will not let me delete it. Can I delete the psched.exe What is the cause of this error What is that Packet Scheduler Why do you think this question should be asked in Windows Forms General If you are afraid of deleting a file which might be needed you could start with renaming that file. Just remove the e from exe and it cannot be executed any more. Restart you system and have a look if everything is working. -- SvenC ...Show All
Visual Studio Team System Possible bug with undoing 'Add solution to source control' in VS2005
I've seem to have run into a bug in VS2005 (for Developers). Steps to reproduce: a. create new project. b. Right click on solution, select Add Solution to Source Control. (Plus signs are shown next to all items in solution, solution appears in Source Control Explorer with plus signs). c. Right click on solution, select Undo Pending changes. (plus signs disappear from solutions items, solution does not show in Source Control Explorer). d. Right click on solution - only source control menu entries shown are Unselve pending changes and disabled History. How do I add this solution back to source control Thanks Nadav Hi Eugene, Thanks for your reply. Your link did answer my ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Microsoft's future policy for redistributing Xbox 360 games?
Before I commit serious time and effort to the XNA framework, I'm wondering if anyone knows Microsoft plans for allowing us to redistribute our games for Xbox360. I'm an academic. Let's say I want to make some educational/simulation games that my students can use on the Xbox 360. Will I be able to provide them with a CD or download link in XBox live As far as I can tell so far, the only games I can write are for myself. I saw a movie not so long ago where an XNA Creator talks about the future of XNA. I dont know if it was a recent video or an old one. But this guy talks about what you can do with XNA and how great it is that you can deploy to the X360. He then talks about the stages or lifetime of ...Show All
