progames25's Q&A profile
Visual Studio 2008 (Pre-release) XAML Cross-browser??
Will XAML ever be truly cross-browser AFAIK it will need plugins, what might directly affect client performance. Ive seen other tech, like Laszlo, and it runs smoothly in Firefox, as weel as in IE. My other fears are costs involved and time-to-market. How will this new XAML tech (and aggregated tools) be charged We subscribe MSDN for testers, then will this cover all new techs As for Time-to-market, does anyone know how is it going Thanks! It is our intent to have XAML and XBAP function in most of the popular browsers on the platforms we support. We realize we have some work to do in that area. Currently XAML and XBAP work in any browser that supports the WebBrowser control. That means IE6 and IE7, Netscape in IE mode, Ma ...Show All
Visual Studio Express Editions C# setup
hi, I made a program in C# and I would like to distribuate it to friends into an setup.exe file. I could find a program already who could make this setup.exe for me by clicking the right things in the wizard. But the problem is it just compiles the data and then just extracts it into it's normal form. And people who don't have C# installed can't use the program then. Can somebody help me by giving me a free program who can create my C# project into a setup.exe file but so others can use it to without having to install C#. (I only have the free version of C#, so I can't do it directly using a setup project) Many thanks! Ok this is the thing I'm looking for, but are you really sure that the Y ...Show All
Visual Studio Syntax error when using Online MSDN
Hi, I have a problem with the Visual Studio 2005 help. Every page that loads i get a "line 1 syntax error" message box. It is DRIVING ME INSANE! I have tried to repair of the Document Explorer tool. I have looked for updates or KB articles and i can't find anything. I have tried turning off IE debugging but just the shape of the message box changes (and it doesn't ask me to debug), and the syntax error moves to line 2. A sample source for the page starts with XML so i thought that might be the cause but I am running the latest updates. Has anyone else had this problem Thanks in advance for any tips, Nathan Update: You can actually prevent the main IE6 application from popping up an error when v ...Show All
Windows Forms ToolStripComboBox DataSource
I am using a dataset table to bind to a toolstripComboBox. The table has 20 rows in it. After binding the toolstripComboBox to the table it has an item count of 20. But nothing shows up in it. I am stumped. There are four columns in the table. I use one for the ValueMember and one for the DisplayMember. I'm sure this problem is something simple. Can someone help me out Thanks! Curt no there shouldnt be a column limitation. you are specifying the column results to show anyway when you are setting the DisplayMember property. Feel free to send over the project via email (email in profile) and ill be sure to post back the solution. Be sure to include the database also ...Show All
Visual C# Validation to Syabse databases
I'm fairly new to C# and I'm in need of some assistance with an app that I am writing. I'm making a simple application that when started it prompts for the username and password. What I need to to is capture their credentials and pass them over to Sybase to validate them and then proceed into the next form. I"m assuming there has to be an ODBC connection and a connection string used, however I do not know how to pass the username and password into the connection string. Can anyone assist Examples are some of the best way to learn... Check out the very robust SQL project examples as found in the Starter Kits . Also there are 101 Samples for Visual Studio 2005 which is a robust, initial development tasks to more involved tasks fo ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How can I make a console in the game?
I was wondering how I could make a console in a game(full screen). To be specific in a game I'm making I have a ship and I'd like to be able to see the ships coordinates in the top right corner of the screen while the game runs. Offbeat, I implemented something similar to this in a game to track various stats (framerate, position coords, etc). Listed below is the code that I used. You could wrap these functions in a class if you were doing some more complex statistics. In my object building routine: // font object creation D3DXFONT_DESC Descrip; ZeroMemory( &Descrip, sizeof(D3DXFONT_DESC) ); _tcscpy( Descrip.FaceName, _T("Verdana") ); Descrip.Height = 16; Descrip.Italic = false; De ...Show All
Visual Studio 2008 (Pre-release) Custom "Property" in WPF
Hi all, Is there any way to define a "property" that can be accessed in design time like in windows form controls. The Property Keyword doesn't seem to exist anymore or I'm missing something. Probably the later. I just want to allow an image to be set at design time pretty much. Any help would be good. Regards Shane MichaelLatta wrote: If you want to add a property to a control you did not create, then you need to use the attached property methods. You will need a get/set static method and you will need to create the DependencyProperty object using the registerAttached static method. In that method you define the type and the owning class for the new property (where the stat ...Show All
Visual Studio Express Editions How to Add a Working Progress Bar for Web Browser...
Hey everyone, I have a quick question. How does one make the progress/status bar work at the bottom of a web browser I'm not sure what I should use for "min," "max," etc. I'm fairly new to VB, so please excuse me if this is a extremely dumb question. Thanks a lot. Create a progress changed event handler: WB.ProgressChanged event Use e.CurrentProgress to indicate current progrss and e.MaximumProgress to set the maximum. ...Show All
SQL Server How to Delete Files on Maintenance Plan
Hello, I am creating a Maintenance Plan in SQL Server 2005. The 'Back Up Database Task' has the choice 'Create a sub-directory for each database' as SQL Server 2000 does. But when I add a 'Maintenance Cleanup Task' I do not see a choice to delete files on subdirectories. Looks like it only deletes the files from the directory I specify. So, looks like SQL Server 2005 is removing some functionality already available in SQL Server 2000. Is there a way to delete those files without needing to specify each directory I do not see any documentarion about xp_delete_file either. Thanks, Ben Nevarez The workarounds aren't reasonable. If I go the route of having a cleanup task in a given maintena ...Show All
Software Development for Windows Vista ActiveX Installer Service does not work
I've created an ATL COM component, packaged to a CAB, the signing certificate is marked as trusted. I can successfully install the component, obviously through the UAC elevation dialog. But nonadmins need to install this component. So, I've installed the ActiveX Installer Service on a standalone machine, not in a domain member. The service is started. I setup the necessary policy to silently install the component. The policy is propagated. I can see the effect of the policy in the registry: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\ Microsoft\Windows\AxInstaller\ApprovedActiveXInstallSites Value Name: http://localhost Value Data: 2,1,0,0 Despite these efforts, Vista displays ...Show All
Visual Basic Programming Languages
Hi, I'm relatively new to programming, and Visual Basic doesn't seem to be that good of a language, and not that much used in real applications. I want to move onto a different language, one that is very popular, can do almost anything, and can be and IS used in professional applications. Another important factor is platform compatibility. Java provides that, but Java isn't that popular for Windows, and Windows is my primary target. C++ works, but I have a couple of questions: 1) Can C++ be used on any OS Is it a good language to use as my primary language 2) Is C# going to replace C++ Does that work on other OS's C# is newer, and so I'm thinking maybe its the new version of C++ that's going to replace it, as xhtml is probably going to do ...Show All
Visual Basic Outlook upgraded; What about program?
I am using vs.net 2003 to develop a program. We use Outlook 2000 for email on our computers. Some of our computers have recently upgraded to Outlook 2003. The new computers with Outlook 2003 cannot send emails through our program that we are developing. What are my options for upgrading this program to interact with Outlook 2000 and 2003 The code we use to send the emails is this: Dim olApp As Outlook.Application Dim olMailMessage As Outlook.MailItem olApp = New Outlook.Application olMailMessage = olApp.CreateItem(Outlook.OlItemType.olMailItem) olMailMessage.Subject = "Some subject here." olMailMessage.Body = "Some text here." olMailMessage.To = someone@somewhere.com olMailMessage ...Show All
.NET Development How to Manage Transactions
Hello, I have 2 different class.Each of them inserts 1 Row in 2 different Tables in my DataBase. Means Class 1 inserts 1 Row in Table 1, and class 2 inserts a row in Table 2. Now I want both of the queries must be fired. If single query is failed to insert row there should not be the effect of other. So I need to User Transaction with my Connection Object. But how to Use it when my Both classes are Different. And I can not mix both queries into one class as per the structrural design of my Application Thank U..... Example from MSDN using (SqlConnection connection = new SqlConnection(connectString)) { connection.Open(); // Start a local transaction. SqlTransaction sqlTran = conn ...Show All
Visual Studio asp.net
How to added the multiple textbox dynamically in asp.net Use below code in aspx page. <form id="form1" runat="server"> <div> <asp:Button ID="Create" Text="Create TextBox" runat="server" OnClick="Create_Click" /> <asp:Panel ID="TextBoxPanel" runat="server"> </asp:Panel> <asp:HiddenField ID="hidden1" Value="1" runat="server" /> </div> </form> Use this code for button click event... protected void Create_Click(object sender, EventArgs e) { hidden1.Value = Convert.ToString((System.Convert.ToInt32(hidden1.Value) + 1)); ...Show All
SharePoint Products and Technologies OCR iFilter and SP2007
Hi, Since the TIFF iFilter with OCR capabilities in SharePoint 2007 is not available, how could we proceed to achieve the same result I've heard that the reason was related to the performance but even then, it does not remove the need of this feature. More and more, organizations proceed to digitalization of incoming mail items to reduce/eliminate paper-pased processes. It sounds awful to me that an ECM platform such as SP/MOSS 2007 do not provide this feature, especially considering that it was available in SP 2003. Apart from writing our own iFilter, anyone has an idea on how we can achieve OCR recognition of TIF file in a SharePoint 2007 environment Thanks in advance, Alain L. The filter ...Show All
