Valkrye's Q&A profile
Visual C++ MDI Projects in Visual Studio
When I create an MDI project in MFC using Visual Studio (Version 5), the Wizard only presents me with the opportunity to create a single document and view. Of course the reason to create an MDI project is to support multiple documents and probably multiple views. While it is possible to manually add additional view and document classes and link them together with a multidocument templet macro, this seems like the wrong way to do it. It seems like Visual Studio should support this common and necessary operation. My question: Does Visual Studio provide any support for this If so, how is it done Why should it be he wrong way The wizar ...Show All
Visual Studio Team System Deleting Work item - Task
Hi After importing the tasks from mpp to team project, I am unable to delete them from the team project even though I have administrative rights. Is there no way of deleting the imported tasks It will make managing tasks very difficult if deletions are not allowed at any stage. Atul Sureka Deleting work items is not supported. However, you can resolve/close the task and move it to some different Area (Create one for deleted WIs) Thanks Sagar ...Show All
Visual Studio 2008 (Pre-release) Paging problem ?
for example from the NorthWind database: var q = ( from c in northwindDataContext.Customers orderby c.CustomerID ascending select c).Skip(5).Take(10); BLAUS Blauer See Delikatessen Hanna Moos1 Sales Representative Forsterstr. 57 Mannheim NULL 68306 Germany 0621-08460 0621-08924 BLONP Blondesddsl pere et fils Frederique Citeaux Marketing Manager 24, place Kleber Strasbourg NULL 67000 France 88.60.15.31 ...Show All
Visual Studio Re-installing VSTS 180-day trial
Hi all I've had Visual Studio 2005 Team System 180-day trial installed for a while. After some trouble I had to uninstall everything VS2005-related. Now, when I try to install the trial again, it refuses to install with the message "A trial edition is already installed on this computer. You must uninstall the previous trial before installing another trial edition." . It's not "another trial edition" of course, it's the same one! I'm not trying to circumvent the 180 day limit or anything, I'd just like to go on like before. I have no applicable uninstall entries. msiinv.exe confirms this. There is no way I can ...Show All
Visual Studio Express Editions How to read and write a text file without screwing up the encoding
I am writing a program that reads in a text file, makes some modifications, and then writes the modified version to a new text file. The problem is that any non-english characters in the text file get turned to gibberish. I know this has to do with the encoding of the text files, but I can't figure out what I am supposed to do to keep this from happening. What class do you use to save your updates to a textfile Or better yet, can you provide some codes so we can see what is causing the problem. -chris ...Show All
Visual FoxPro VFP9.0 Data Access from .NET
Hi all I am trying to acces VFP 9.0 Data from a asp.net web site and here is the problem In the visual web developer express when I hit "View in browser" The web page comes up correctly then I copy it to \\localhost\vfptest and open it in the browser and get an error indicating that vfpoledb cannot find/open the specified file. So then I go back to VWD and set the project to the IIS directory directly and hit "view in browser and it will display correctly without the error so the difference seems to be if the page is accessed as either // localhost/vfptest (creates error) or // localhost:1117/ vfptest using the integrate ...Show All
Visual C# store image
Hi can anyone write an snippet code to store image in database with binary shape(code) not an image Here is a little example: Image image = Image.FromFile(@"c:\myimage.bmp"); using (MemoryStream stream = new MemoryStream()) { image.Save( stream ); byte [] buffer = steam.ToByteArray(); SaveImage( "myimage", buffer ); } public static SaveImage( string name, byte [] imageData ) { //use the web.config to store the connection string SqlConnection connection = new SqlConnection(ConfigurationSettings.AppSettings["DSN"]); SqlCommand command = new SqlCommand( "INSERT INTO ...Show All
.NET Development ASP
http://localhost/WebApplication1\\Sneezy\d$\wwwroot\dpowerful I am just starting out with ASP.net and i am just trying to open a web form but i get that i must enter a valid name...What should i change I changed everything around and it still didnt work right....Any help on this issue This web forum is actually specific to ASP.NET Web Services. For general ASP.NET quesitons, please try the ASP.NET web forums at: http://forums.asp.net Thanks! Daniel Roth ...Show All
SQL Server Missing Labels in Chart
I have a line chart that has several series, and it routinely leaves off 1 or 2 point labels on the last X-axis. Is anyone else experiencing this If so, does anyone know what the cause is, and is there a fix Thanks! BobP They are both set to 1 and still no labels. BobP ...Show All
Smart Device Development listchanged event on BindingSource
The list changed event on and I binding source is fired only when i execute de endedit method and i have made previusly a change in the binding list(moved,delete,inserted etc..). Does anybody know a way to notice that a change its made in the bindingSource list and after that i could call the canceledit method to restore my list. notice that if I call the endedit method the cancel edit wouldnt restore my bindingsource becose the changes have alredy be applied to mi bindingsource. Thanks for your help. The only way to do it is to make original data source fire these events. For example, DataT ...Show All
Windows Forms Please Please Help
Hey I'm really new to programming in general and i'm having trouble with something really simple and need a hand. Ive got a button in a form on a windows application and i want another form to load up when the button is clicked but I can't find out how to do it any information would be greatly appreciated. create an instance of the form and then call the show method, the name of the form I'll use is Form1 it will depend what you called it. VB.NET Dim myForm as New Form1() myForm.Show() C# Form1 myForm = new Form1() myForm.Show() place this in the Buttons onclick event, if you double ...Show All
Windows Forms DataGridView -update
Hi I'm new to C# after working 11 years withVB. I have visual c# 2005 beta on my system. I created the Dategrid View with the following code SqlConnection oSQLConn = new SqlConnection (); oSQLConn.ConnectionString = "Connection string " oSQLConn.Open(); SqlDataAdapter sqlDa = new SqlDataAdapter ( "select * from table1" , oSQLConn); //create dataset instance DataSet dSet = new DataSet (); //fill the dataset sqlDa.Fill(dSet, "table1" ); //bind the data grid with the data set dataGridView1.DataSource = dSet.Tables[ "table1" ]; oSQLConn.Close(); It allows me to Edit the Data. but did not update the Da ...Show All
Visual Basic PHP SCRIPT TRANSLATE IN VISUAL BASIC 6.0
Hi class Astro { var $jd; var $dec; var $ra; var $sid; var $dra; var $rsum; function Astro() { $this->jd = 0.0; $this->dec = array(0.0, 0.0, 0.0); $this->ra = array(0.0, 0.0, 0.0); $this->sid = array(0.0, 0.0, 0.0); $this->dra = array(0.0, 0.0, 0.0); $this->rsum = array(0.0, 0.0, 0.0); } function copyFrom(&$source) { $this->jd = $source->jd; $this->dec = array_values($source->dec); $this->ra = array_values($source->ra); $this->sid = array_values($source->sid); $this->dra = array_values($source->dra); $this->rsum = array_values($source-& ...Show All
Visual Studio CR for VS 2005 - Invalid Class string error when viewing report in IIS 5
Hello, I'm receiving the error I pasted below when trying to view a report in IIS 5 locally. The report is from the VB_Web_ReducedCode_Parameters sample. It uses a drop down box to change the report parameter. The report works fine when I use the asp.net development server, but IIS. I've also encountered the same error on a report that I created as well. I've checked permissions to the report and to the temp folder that was suggested in other forum posts. Any Help would be greatly appreciated! Joe Invalid class string Description: An unhandled exception occurred during the execution of the current web request. Please revi ...Show All
Windows Search Technologies Address bar - locked
my address bar will to type in the full name of a web site, but once complete it will not pull up the site, it stays on the main msn page. Like typing in www.miamidolphins.com - but while typing it will drop down and offer a list of sites, if i pick one of those I can go straight to the sight or choose from my favourites. but to actually type a new site name in the address bar and click go - it goes no where. how do I solve this i do have google and msn tool bars open help maggie ebersold Hi Maggie, Your issue doesn't appear to involve Windows Desktop Search - does it Thanks, Bill ...Show All
