Software Development Network Logo
  • Game Technologies
  • Windows Forms
  • Visual Studio
  • SQL Server
  • IE Development
  • Visual C++
  • Smart Devicet
  • Microsoft ISV
  • .NET Development
  • Windows Vista
  • Audio and Video
  • SharePoint Products
  • Visual C#
  • VS Team System
  • Visual FoxPro

Software Development Network >> Dan Fernandez - MSFT's Q&A profile

Dan Fernandez - MSFT

Member List

Rhubarb
mkamoski
haber2
Black_Knight
Socrates Kapetaneas
RGrizzzz
sandeep437
Dasa
mipe10
J Jakubik
sheng nan
Kebians
Mongsreturn
Sime24
AlanKohl
Ponnurangam
Gurpreet Singh Gill
Aoeuid
Ultrawhack
hrubesh
Only Title

Dan Fernandez - MSFT's Q&A profile

  • Visual Studio Express Editions Can't create Windows Forms Application

    When I try to create a Windows Forms Application project the compiler shows me that error: http://img92.imageshack.us/img92/6324/errorxb3.jpg Please help me. I tried but there's a problem with the setup application...When I try to reinstall Visual C++ 2005 it shows me that there is a problem with installing .NET Framework 2.0.When I try to uninstall VC and finish the uninstallation the program is still not uninstaled....Any suggestions ...Show All

  • Windows Forms Prerequisite not working?

    I'm trying to build a setup for my application using a Windows Installer project. I'm using VS2005. My Windows application requires SQL Server 2005 Express, so I marked that as one of the prerequisites. I built the installer successfully and ran it on one computer running XP. It successfully detected that neither .net 2.0 or SQL Server 2005 Express were installed and installed both of them before installing my application. My application ran just fine and life was good. I then took the exact same setup.exe and setup.msi and ran them on another computer - also running XP. It didn't attempt to install either of the prerequisites, and seemed to successfully install my application. As soon as my app was launched though it failed with " ...Show All

  • Visual C# What is the difference b/w running 2.0 web sample by directly pressing F5 key and CTRL+F5 keys?

    Please let me know the difference between running 2.0 web samples by directly pressing F5 key and CTRL+F5 keys. Every time while I run the new web sample if asks both the option like “ Run with out debugging ” & “ Add a web config file with debugging enabled ”. I have a web config file globally in root directory. So I need to disable this option and run all the samples with out debugging. Thanks in advance. Hi Figo Fei, Thanks for the link. Is there any option to set the default startup page through programmatically I need to know if it is possible to set the startup page in web.config file. Thanks in advance. ...Show All

  • Visual Studio Express Editions Image in CSharp

    Hi all, I have a question regarding image in CSharp. I have a Frame (List< List<RGB> >) . and RGB contaings Reg Blue and Green component. My question is, how can I display this Frame in a Form for Windows Application Thank you, Riady That's a pretty unusual way to store an image. Assuming your inner list stores the pixels across the bitmap, you could use something like this: public static Image List2Bitmap(List<List<Color>> frame) { Bitmap bmp = new Bitmap(frame[0].Count, frame.Count, System.Drawing.Imaging.PixelFormat.Format24bppRgb); int y = 0; foreach(List<Color> scan in frame) { int x = 0; foreach(Color c in scan) { bmp.SetPixel(x, y, c); ++x; } ++y; } ret ...Show All

  • Visual Studio sourcesafe get commad from a batch file

    Hi, I am trying a simple get command from my batch script cmd /c "cd /c %2 & %PRN_VSS_BIN% get -I-N %1 -VLRelease_Oct2006 -R -W- " In the above command PRN_VSS_BIN is the full path for SS.exe. I tried the above command as follows cmd /c "cd /c %2 & %PRN_VSS_BIN% get -I-N %1 \"-VLRelease_Oct2006\" -R -W- " with no luck. All i get is a message saying "Release_Oct2006" is not a valid sourcesafe syntax Also tried it as: cd /c %2 & %PRN_VSS_BIN% get -I-N %1 "-VLRelease_Oct2006" -R -W- and nothing works. Please tell me what is wrong, although I think I have tried all possibilities. Is there a bug with SS get command that it fails to retrieve old versi ...Show All

  • Visual Studio 2008 (Pre-release) drilling from FRAME control to HTMLDoc object

    I have a Frame Control in my XAML file, with source being a web page: <frame source="url"> I need to do an InvokeScript(method,args) against that web page. Frame does not directly support invoke script, but the underlying object that runs the frame WebBrowser does. I have searched and searched, but how does one drill down from the Frame objects properties to find the underlying: WebBrower or HTMDoc object I reported this bug a while back, unfortunately it couldn't be resolved in v1. The workaround is to host the WinForms browser control. HTH, Drew ...Show All

  • SQL Server possible bug regarding single line comments in SQL Server Management Studio

    I don't know if this is a bug or something I've messed up in my settings. I am using SQL Server Management Studio with SQL 2005 service pack 1 installed, and I've been using it successfully ever since SP1 came out. All of a sudden, any time I have a query with a single line comment (i.e. using dash dash -- ), the rest of the query is ignored as if the single line comment is really a multi-line comment without the closing */ An example: select top 100 * from myTable -- this is a comment where myTableID = 1234 This would normally return exactly one row, but instead returns 100 rows ( as if the where clause did not exist). If I move the where clause above the comment, it works as expected. Any ideas In trying to fix t ...Show All

  • Visual C# Visual Studio 2005 tabs missing

    For some strange reason the tabs at the bottom of certain designers aren't showing up like they used to in VS.NET; is there some setting I've inadvertently turned off e.g. when I double click on a Windows Form and it loads up in the designer, I have to either right click and select "view code" or press F7 to get into code view. The tab(s) that was there in VS.NET have gone missing :( Indeed, that article seems to be wrong, probably it has not been updated for VS2005. Anyway, you can switch between design and schema by right clicking the designer/code window and selecting View Code/View Designer from the context menu. But I'm confused about this one: " Being that there are Design an ...Show All

  • .NET Development Error in Addition of Double Variables

    Hi, This is Aravind. I got an error due to addition of two varibles which is declared as "Double". It shows the wrong sum up. Sample Code is as below: Dim amt1, amt2, z As Double z = 0.0 amt1 = 74.68 amt2 = 168.49 z = amt1 + amt2 The Answer should be 243.17 But ...It shows "243.17000000000002"..... Why it happens ....it will leads to Big problem.... when summing up the Money values.... Can u please clarify this.... Its urgent.... Regards Aravindkumar.P Hi For Your Information: Ths following results for different data types... AS u know very well There is no double data type in SQL server....instead of ...Show All

  • Visual Studio Tools for Office VSTO Word Deployment

    Hi I have written a word solution using VSTO. The app basically contains a number of templates which link to a customer database and allows the users to populate customer addresses and other info. Anyway the solution works fine until someone saves a letter to another location. Then when they open the document they get a "customization could not be loaded error". I believe that this is because word\document is looking for the DLL associated with the original document. Is this correct If not does anybody have any ideas what could be causing it Yes, it sounds like the security may be location-based. See if the information in these articles on trouble-shooting and on deployment hel ...Show All

  • Visual C# Dots and Commas

    Calling Float.ToString() will generate a string where the decimal part is separated by a comma (on my Swedish comp). I'd like it to be a dot instead, mainly for compatibility reasons (file outputs etc...). Is there some easy way to change this, like some locale setting somewhere I'd prefer not to call String.Replace() every time I call ToString(). Using C#.NET on MSVC2005.NET One of the ToString overloads take a IFormatProvider parameter so you can do something like: System.Globalization.NumberFormatInfo format = new System.Globalization.NumberFormatInfo(); format.NumberDecimalSeparator = "."; format.NumberGroupSeparator = ","; s = f.ToString(format); In your specif ...Show All

  • Visual Studio Express Editions waiting without holding the thread...

    hello how can I wait in VB without using the System.Threading.Thread.Sleep method because all this does is excecute and does not give the lines before and after it time to execute....like i want to turn a button the color red, and then just wait a few seconds. This is not working currently because the sleeping is happening too fast, what can I do plesae advide...shyma You should not use Sleep because it will prevent the UI thread from exiting your method and repainting the button OR allowing the UI to do miscellaneous things (making the program appear as if it is "Not Responding"). A better solution would be a Timer. You can override the Timer class to cause something to happen at certain intervals. Then, after the Time ...Show All

  • Visual Studio Express Editions FormName.Show()

    I'm trying to just use a simple Show() function to open a form. It should work, but doesn't. ahmedilyas wrote: you need to create a form instance in order to show it :-) Dim theAboutForm as new AboutBox1() theAboutForm.Show() The same applies for the rest.... Thanks, but now I can't test it, because when I go into Debug mode, I get the same error as before, and it won't open the application. ...Show All

  • SQL Server Time Series only predicts one step

    I have a relational table with daily sales for 364 days (52 week span) for 60 stores. I have created a Microsoft Time Series model using store as the case and the historical/actual line charts appear in the Charts viewer for each store. But only one prediction step is shown no matter how many prediction steps I select. I have tried this with an OLAP-based model and also tried a simple DMX query, all with the same result. Thank you in advance for any help with this. P Taylor I had a similar problem and find out that setting MINIMUM_SUPPORT = 5 fixed this problem in my case. The thing is that the model I made had too few cases so I lowered this parameter and the mining model started forecasting subsecu ...Show All

  • Visual Studio Team System Getting list of workspaces and solutions of Team project

    Hi, How to get the list of workspaces and list of solutions under a given Team Project programatically Please help me with some pointers. To get the list of solution files, you'll need to use vcs.GetItems("$/YourTeamProject/*.sln", RecursionType.Full), building on what Michal wrote. See http://blogs.msdn.com/buckh/archive/2005/10/26/485458.aspx for some details on using GetItems(). Buck ...Show All

©2008 Software Development Network