Frank722's Q&A profile
Smart Device Development Windows Mobile 5 and secchk.lib
I'm trying to add a WM5 target to my PPC2003 solution (Visual Studio 2005). I installed the SDK, added a new build type (I derived it from my PPC2003 build type), and chose the correct emulator for the target device. The problem is that even if I have /GS- in the compiler settings (disable security checks), I am still getting LNK1104 for secchk.lib. As far as I can tell, secchk.lib doesn't even exist in the WM5 SDK. I can't find any explicit references to secchk.lib anywhere in the project. Does anyone know where I went wrong, or what the solution is Hey Jeff, Thanks for sticking with me till now. Looks like this whole time it was an oversight on my end. I guess I was still linking with an sqlite.l ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Problems implementing a skybox
Perhaps somebody with more experience could help me. I want to implement the skybox example from the DirectX SDK (Samples/C++/Direct3D/StateManager) and I've copied and renamed the following files (skybox01.x, skybox02.dds and skybox03.fx) to my project folder and have added them to the content pipeline. But I don't get it managed to load the skybox with her texture and set the camera to the center of the box, I think because I don't know how to handle the effects of the *.fx file and how to transform the box correct. (I'm new to XNA and I only have tried out the simple 3D examples with BasicEffects from the help files so far.) So if somebody has the time to show me how to handle these files correctly, I would be very glad. (You c ...Show All
.NET Development xml error
I try to load a xml file. When i do i get the fowlling error below Data at the root level is invalid. Line 1, position 1. Cisco < hi > < Spary106914 > < apop > < ActionName > MoveUpRelative </ ActionName > < Parameter > Distance </ Parameter > < Value > 0 </ Value > < Unit > cm </ Unit > < Notes > Click to add notes </ Notes > </ apop > < apop > < ActionName > MoveUpRelative </ ActionName > < Parameter > velocity </ Parameter > < Value > 0 </ Value > < Unit > cm </ Unit > < Notes > Click to add notes </ Notes > ...Show All
Windows Forms Refresh problem using Infragistics windows tab control (third party)
Hello, I am having refresh problems using the Infragistics tab windows forms control. My application form has around 6 tabs, each tab having approx. 50 controls with a scroll bar. Most of the controls in the form are simple .net controls like textbox, combo boxes etc. Yet when I run this form, the screen does not show up instantly. It takes about 2-3 seconds (sometimes longer) to refresh the entire screen. If anybody has come accros this problem and has a fix, please let me know. Please note, i have tried doing the same using Windows tab controls and the refresh still persists. Thanks Rgds, Jay That's pretty normal for any Windows Forms app, creating 300 controls takes a lot of time. Resort to the classic w ...Show All
SQL Server Need Help on this SQL Statement
Hi All, sqlLstProds="Select * From PRODUCT_DEF "&_ "WHERE productID IN(Select productID From PRODUCT_DEF WHERE (IDProductCriteria = 5) AND ([Value] = '"&getSession("ModelID")&"')) "&_ " Order By IDProduct, IDProductCriteria" I have the above SQL Code in an ASP page. This queries the Product_Def table, however there is also a table called Product_sType, the primary key in that table is productID which corresponds to productID ub the Product_Def table. I need to add to the query a where clause, where active = 1 active 0 is obviously discontinued products, how would I do this So basically, it's somewhat of a join of some sort, like select * from Produc ...Show All
SQL Server How to use StoredProcedureParameterCollection
Hi I know this is a simple problem but I can't fix it. How can I use a StoredProcedureParameterCollection I try to do this but it doesn't work StoredProcedureParameterCollection sppc = new StoredProcedureParameterCollection (); sppc.Add( new StoredProcedureParameter (storedProcedure, "@GroupName" , DataType .VarChar(50))); sppc.Add( new StoredProcedureParameter (storedProcedure, "@Active" , DataType .Bit)); sppc.Add( new StoredProcedureParameter (storedProcedure, "@GroupID" , DataType .Int)); foreach ( StoredProcedureParameter s in sppc) { storedProcedure.Parameters.Add(s); } Thanks Jon No worries it's sorted now StoredPro ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Game Distribution
I am trying to get a very simple 2D XNA game to run on other peoples machines; but when I send them the relevant files, they all complain of getting some form of error report. They all claim to have the requirements (XNA Framework, latest DirectX and .NET Framework 2.0) installed, but it seems something, somewhere isn't doing its job. One of the people in question only has a Radeon 7000, so it is understandable why it isn't working. But the other two have a GeForce 6800 and a 7300GS which should be more than enough! I have tried both ClickOnce installers and binaries from both Debug and Release directories. They all worked fine in folders on my machine, but on other computers the installers installed fine, but just throw up a windows error ...Show All
Windows Live Developer Forums Polygon Elements from Live Collection?
When adding a layer from a Live Collection, the pushpins show up but the polygons do not. Is this supported and there is another mechanism for getting it to work other than just loading the collection and and adding it to the map ...Show All
Visual Studio Express Editions two questions????
1- i add data base to my form and when i want to modifay in it and when i close the program and open it again all changes not saved what can i do to save changes 2- how can i make my program setup file thnx microsoft community For the first question, a problem like this is typically caused by the fact that your database is set to always copy to the output directory, if this is true, then you original database is going to overwrite the updated one that you have. You can run the publish wizard in your application properties. This will create a click once installer. For anything else, you would need a 3rd-party installation application. ...Show All
Windows Forms Adding TreeNode nodes to treeview1.Nodes[index] ?
I want to biuld a tree from a XML file, but I can't seem to get the following to work: treeView1.Nodes.Add( new TreeNode ( "year") ); treeView1.Nodes[0].Nodes.Add( new TreeNode ( "month" )); int noTreeNodes = treeView1.Nodes.Count; // Should return 2, but only returns 1 treeView1.Nodes[noTreeNodes].Nodes.Add( new TreeNode ( "day" )); The problem is that nodes are only indexed if added as in the first line, not the second line Therefor the last line fails, since it tries to get the Node with index 1, which does not exist. Any help appreciated! The nodes have a tree structure. So treeView1.Nodes.Count only returns the count of the top nodes which is 1. To add the day under the ...Show All
.NET Development SmtpClient and custom MIME headers
Hi, I'm trying to get the .Net mail component to use the Content-Description MIME header, but can't seem to find any properties on the MailMessage or Attachment classes that can be used to set a value for Content-Description. Neither can I find a way of adding a custom header to my attached MIME-part of the mail. What I want .Net to send should look something like: From: a@b.com To: b@a.com Subject: simple text email MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="__________myCustomBoundary__________" Message-ID: < 9RRZ42Jf7a8d25024e54a0cb7b0184fc7736b8b@9RRZ42J > --__________myCustomBoundary__________ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Body text ...Show All
Visual Basic nextinstance
hi, i wrote a single instance application - a pic viewer. if i double click on an picture file it opens up my app with that file. now if my program is runnin and i open up one more pic i'd like my program change the shown pic to the new - i know i have to write this in the application events, the StartupNextInstance event but don't know how to get the path of the second pic. any idea thnx I did. I was just making replies to other threads where someone might have an answer as well. The ActivationUri is documented here as part of the 2.0 framework. http://msdn2.microsoft.com/en-us/library/system.deployment.application.applicationdeployment.activationuri.aspx and from this page http://msdn2.microsoft.com/en-us/library/z ...Show All
Game Technologies: DirectX, XNA, XACT, etc. New to this - Keyboard Input
Hey guys. I'm pretty new to the C# language. I've downloaded XNA and I've been messing around trying to create a pong game. So far I've managed to get the two paddles on the screen along with a red ball. I want to add keyboard input to the two paddles (they are sprites). I've been looking around on how to add keyboard input, but the more I look, the more confused I get. If someone could help me that'd be great. Some other things I am in the dark about are how to make your window application a bigger size, and if there is a coordinate plane for the window application. I normally find myself just guessing coordinates for my sprites untill they are places where I want. Thanks. Hey Markus, Check out the XInput ...Show All
Windows Live Developer Forums WMS/WFS connection in Virtual Earth
Hello all, MSN VE is looking fantastic and getting better. Indeed a good option against google earth. But I could easily make some php scripts that could connect WMS to Google and project data on the fly to GE and this was also possible with MySql+GE connections. But did anybody already do an experiment to connect a WMS to MSN Virtual Earth I would be very much delighted to have some codes if possible. Shuman Kibria Please contact kibria14829@itc.nl In 3D, there are several parameters you can put in the tile request string when adding a tile source. These include: URL format parameters: 0 Reserved 1 Map Style 2 &n ...Show All
Microsoft ISV Community Center Forums Newbie in VBA Drag and Drop..
Hi, Do not know if this is possible drag and drop effect of items in dropdown control inside a word application The task is to import and export data from and to database, but user can select from a list columns what they want to add, there will be a dialog will appear and allow user to select data to be included in a word document, how can this be done Thanks in advanced. den2005 Hi, Looks like your best to create this in a Word template using VBA. You'll need a user form which will get the data from the web, display it in a list, let the user modify and upload, and also letting the user perform the drag and drop, and uploads. Since the user is primarily working with word thats w ...Show All
