nater's Q&A profile
Smart Device Development Graphics.FillXXX with Hatched Style
As the methods Graphics.FillEllipse, etc. do not work with Transparent Images, is there an other solution to use the FillXXX - Methods with a Hatched Style thanks in advance No - the underlaying Windows CE OS does currently not support hatch brushes. One possible workaround would be: Create a bitmap containing the part of the image where you want your ellipse to appear. Draw a custom 'hatch' style ontop of this bitmap. Use the resulting image in a TextureBrush you supply to the Graphics.FillEllipse API. ...Show All
Visual Basic Contatenation
I'm very new to VB programming and I am trying to take the first name and a last name from two textboxes and cont. them into a txtFullName Below is the code I have been trying to write and I keep getting a blue error line (Value of type 'String' cannot be converted to 'System.window.Forms.TextBox'. Could somebody help please Ted Public Class Form1 Private Sub TextBox1_TextChanged( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txtFullName.TextChanged Dim FullName As String Dim FirstName As String Dim LastName As String txtFullName = LastName & ", " & FirstName Ahh, I'm sorry, what was I thinking... Tr ...Show All
Game Technologies: DirectX, XNA, XACT, etc. internal WindowsGameForm class?
Hi, I was perusing the XNA framework assemblys with Lutz Roeder’s .Net Reflector and noticed the following internal class. internal class WindowsGameForm : Form Name: Microsoft.Xna.Framework.WindowsGameForm Assembly: Microsoft.Xna.Framework.Game, Version=1.0.0.0 Are you considering exposing it in a similar way as you did with GameWindow (i.e. GameForm) This class would seem to satisfy the requests of many people for the abiltiy to use Windows Forms and XNA together (if they want to). This would be especially useful for things like tools, demos, and run-time control of the game using the RAD controls provided by Windows Forms. Right now, I am abl ...Show All
Visual Studio Express Editions How to Help! (Creating a patch for my application)
First off I use the full version of Visual Studio .NET VB 2005. Now I'm wondering how to write an application that is able to patch itself (or at least download a patch and save it somewhere to then fireup a utility program to do the actual patching). Does anyone know of some example code I could checkout or a free tool that could do this for me Thanks in advance! Hi Read about ClickOnce http://msdn2.microsoft.com/en-us/library/t71a733d(VS.80).aspx ...Show All
SQL Server SSIS: Error opening solution
I am trying to open the solution and it is giving me error "The application for the project \\..\..\test.dtproj is not installed Make sure application for the project type(.dtproj) is installed." I tried to open any SSIS solution and it is giving me same error. Anybody has any ideas how to resolve this problem Thanks everyone, Yes, I am referring to the same URL.. Seems like I need to switch back to SQL 2k . My company won't invest in the new software.... Thanks :) ...Show All
Visual Studio 2008 (Pre-release) INotifyPropertyChanged in C++/CLI
When I implement INotifyPropertyChanged in C++/CLI: (public ref class Task : public INotifyPropertyChanged) A problem comes to me: Error 3 error C3766: 'SomeData' must provide an implementation for the interface method 'void System::ComponentModel::INotifyPropertyChanged::PropertyChanged::add(System::ComponentModel::PropertyChangedEventHandler ^)' I don't know why this error doesn't occur in C# when I implement the INotifyPropertyChanged ,but occur in C++/CLI . Could you so kind to tell me how to resolve it Thank you very much! In C++ you don't need to check if the handler is null so the following should work: void OnPropertyChanged(String^ info) { PropertyChanged( this , gcnew ...Show All
Microsoft ISV Community Center Forums Protecting formulas in cells
Hello, Other than coding formulas, is there a way to protect a cell in an excel spreadsheet, no mater, if the sheet is protected or not, so that formulas can not be erased or overwritten Thanks Chrstdvd I have worked on creating sheets that can only be edited by a form and the steps that are done by anyone have to follow a certain order and will only allow them to edit what is necessary. The sheets can be unprotected only when they are being edited by the form preventing "accidental" deleting. I can help put you in the right direction if you give me some more info. ...Show All
Software Development for Windows Vista Unable to create folder in C:\Windows\WinSXS in Vista OS
Hi, I was checking compatibility of one of my MFC application in Vista OS. Usually if the MFC shared dlls are not present, i used to copy them in WinSXS under folder with the required folder name like x86_Microsoft.VC80.xxxx. (Installing VC++ Redist also didnt work in my case.) And this would make the application work perfectly. When i tried to do the same thing in Vista OS, it failed to create the folder. I removed the read only attributes and tried again but in vain. The error i am getting is "User didnt have enough permission to perform this task" but I logged in as Administrator. I tried to change the security attibutes of Administrator but could not find the Users under Computer Management. Is there any solution ...Show All
Visual Studio Tools for Office Error Checking XML customization code
Is there any way to check the format and structure of the XML that I attempt to write to customize the Word Ribbon from within Visual Studio before pressing F5 which opens Word and then reports a bunch of errors. Thanks. You can add the customui.xsd file to your project. That way you will see your errors in the XML schema before you hit F5. You can download the schema from here http://blogs.msdn.com/jensenh/archive/2006/10/26/final-schema-for-ribbonx-based-solutions.aspx . Thanks, Rachel ...Show All
SQL Server CONNECTING TO ACCESS DATA via SQL Server Managemnt Studio
HI All, forgive me but I am new to SQL Server. My question is in 2 parts. THe first - Could anyone point me to a tutorial or give me a quick pointer I want to View my Access 2003 datatables through Server MAngement Studio. I cannot however work this out or find articles on it. Is it possible Are there any wlakthroughs The second Part - Eventually I want to create an SQL database, which is comprised of tables which use (point to) MS ACCESS as there datasource. An unchangeable existing piece of software uses Access as the UI, so I want to leave my data in access, and just set up some pointers from the SQL database tables to read in data from these access tables as when required. Is that a clear question Am I making any sense PLe ...Show All
Gadgets Question: using activex controls on a gadget
Hi, i am leroy (spydaz) i have recently read the tutorial on windows sidebar gadgets. and the tutorial on sidebar gadgets... Firstly i use VB6 and Ms.Office.2003. i would like to begin building gadgets.. Is it possible to use activex controls on a sidebar gadget. As with regular WebDesign / HTML. ie design the control in VB6 Mycontrol.OCX and use it in a sidebar gadjet. ie: mini Database Form Project... as i saw with the templates available as samples the were all refferenceing then new architecture .net *ExpressEditions. Yes, I also think so.... the important code is in the com, the javascript is not so important, that it should be protected. But I'm new to JavaScript/COM.... I can call com functions in ...Show All
Software Development for Windows Vista Dependencies
Hi, I'm going to create a application with some specific functionality. Now i'm verry interrested in the new Windows SDK and the new technology's within it. However, i want my application to be runnable from windows 2000 till vista and higher. Next to that, my application cant be to big in filesize and it cant require a user to install some or other API from 30 mb's or more. so when i start distributing my application written with the windows SDK, what do users need to download in order to use my application. Will the api be added to the automatic update system Thanks already! - Koen ...Show All
Visual Studio Express Editions array of pictureboxes - click ?
Hi, i have array of pictureboxes and i create each picturebox as follows: for ( int i = 0; i < 10; i++) { table = new PictureBox (); table .Location = new Point (startPosition += 67, 5); table .Size = new Size (67, 67); this .Controls.Add(table ); } but how can i add a control that tells if someone click on one picturebox Does this example help public Form1() { InitializeComponent(); int Position = 0; PictureBox [] table = new PictureBox [10]; for ( int i = 0; i < 10; i++) { table[ i] = new PictureBox (); table[ i].Location = new Point (Po ...Show All
Visual Basic Problem with Excel in Web Service to print Excel File
Hi. I create a web service in Visual Basic, the project load an .xls (Excel file) file and print this file. The problem is when the web service are installed in the IIS, it not works (problems printing in the function WorkBokk.PrintOut() ), but wen i run this in debug mode its work perfectly. Please help me, maybe the error is in some configuration of the com object. Code: Dim app As New Excel.Application appFolder = My.Application.Info.DirectoryPath Dim wb As Excel.Workbook app.DisplayAlerts = False wb = app.Workbooks.Open(FileName) wb.PrintOut() wb.Close() app.Workbooks.Close() app.Quit() Thanks No error message are displayed. Only the browser (when i testing de web service from IIS) open the new window when i call my meth ...Show All
Game Technologies: DirectX, XNA, XACT, etc. GameComponent designer
Would it be possible to add support for a GameComponentCollection in the designer for GameComponent Perhaps it would make sense to do this by creating a new class analogous to UserControl in windows forms, or even creating an IGameComponent so that a collection isn't required. It would be pretty easy to implement myself, but I think it would be best done as part of the framework. I think it would be handy for things like a state machines, so you could aggregate components in a state component and still have access to the designer. It will be nice if we can coding in XNA using the way that this movie show: http://download.microsoft.com/download/1/5/7/1571de83-1efe-4821-b426-b600ac27ae8e/WF_StateMachineW ...Show All
