Kennon2005's Q&A profile
Smart Device Development Beta of Microsoft Certification Exam 70-540
Microsoft Certification Exam 70-540 is available in Beta form right now! This is a Technology Specialist exam for application developers in the mobility space. The Preparation Guide is available for the Exam at: http://www.microsoft.com/learning/exams/70-540.mspx . To register visit one of our independent testing providers: * Thomson Prometric: http://www.prometric.com/ContactUs/T...rs/default.htm * Pearson VUE: http://www.vue.com/ms/ Please use the following promotional codes when registering: Exam 71-540: BTA540 Best of luck! Howard Dierking Product Planner Developer and Database Certifications Microsoft Corporation Jason Langridge in this blog post http://blogs.msdn.com/jasonlan/a ...Show All
Microsoft ISV Community Center Forums Need help writting a script similar to...
Sub CommandButton2_Click Me.Textbox7.Text = My.Computer.Filesystem.ReadAllText("C:\info.txt") End Sub I'm a newbie at VB all around, thought that the My namespace was part of the VBA build. I have no clue how to write this kind of script in VBA. Basicall, I have a file (C:\info.txt) that I need to copy all of the info in this file into a textbox (textbox7 to be exact) on the form whenever commandbutton2 is pressed. Any help would be greatly appreciated. Thanks Jdwilliams Thanks for the help bro! I'm still having a few problems as of now though :( Here's my code as it exists right now. Sub CommandButton2_Click Set fs = CreateObject("Scripting.FileSystemObject") Set a = fs.OpenTextFile("c:\info.txt& ...Show All
Visual Basic no .net framework?
I did a window application using vb.net and a setup project. But when i installing my system/programm to a new PC, it prompt out a error "Please install .NET Framwork"....... What should i do if the user PC dont have .NET Framework I cant require the user to install .NET Framework....so wat should i do to solve this Actually i dont really know wat is mean by .NET Framwork and why PC need .NET Framework to run the application programm, my application program is just a very simple program.......I am quite new to .NET .....pls help.... i used this way to do... To install the .NET Framework with a Setup project Make sure that the Visual Studio .NET Framework Bootstrapper Plug-in is installed. Select the ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Fullscreen problems....
EDIT: I am using Beta 2. I use this as the constructor method... public Game1() { graphics = new GraphicsDeviceManager(this); graphics.PreferredBackBufferWidth = 640; graphics.PreferredBackBufferHeight = 480; graphics.PreferMultiSampling = true; graphics.ToggleFullScreen(); content = new ContentManager(Services); } Works great. But when I change the resolution to 800x600, all I get is a black screen. The loop is still running because I can still quit the program. I have also tried 1024x768, that works too. Thought maybe it was an aspect ratio problem, but they are all the same, 1.3333... I have tried turning the multisampling off to no avail. Didnt think that would be it anyways, I play World of Warcraft at 800x60 ...Show All
Windows Forms Blue tooth
i'm sorry to post this here but ure site is so complex, i'm just wondering if some one could help me activate my bluetooth function on my acer laptop. thanks Foxy_geeb ...Show All
Windows Live Developer Forums FindLocation doesn't work in sidebar gadget
I'm trying to make a sidebar gadget that uses the VE api but am unable to use the FindLocation method. The following works when viewing in IE (shows new york city) but when viewed in the sidebar doesnt focus on new york city. I can only set the location using the LoadMap method passing a VELatLong object in the sidebar. < html > < head > < title ></ title > < style > body { width : 130 ; height : 150 ; } </ style > < meta http-equiv ="Content-Type" content ="text/html; charset=utf-8"> < script src ="http://dev.virtualearth.net/mapcontrol/v3/mapcontrol.js"></ script > < script > var map ...Show All
Software Development for Windows Vista difference between InvokeWebService,WebServiceInput and WebServiceOut (Beta 2)
Dear sir, In our project we should connect the webservices dynamically. And I want to known where it is possible in Workflow. Right now I am try one small example with InvokeWebService activity. At that time it ask Url, I gave it, Once Click the Add reference Button, then VS2005 creates one app.config file, proxy and settings.cs file and write some code for me. Then it workrs fine. The problem is Now I am changeing the URL in Web Config file. Then it wont works. Here I am Pasting the Code Step1: When Creating the Webservices, the Config file is like this < xml version = " 1.0 " encoding = " ut ...Show All
Smart Device Development Device ID Data Type
Hi All, I want to be able to uniquely identify a mobile device. I've discovered that devices have a Device ID but is only accessible via the Win API through PInvoke() calls. The article I found is here: http://msdn2.microsoft.com/en-us/library/ms172516.aspx PInvoking is not a problem for me. I actually found this article through a message board where someone actually had problems using it. 1) Is this article up to date and compatible with WM 5.0 devices Most Importantly 2) Is the device ID a GUID Or is it something else The article indicates it converts the final result into a string not a native GUID. This doesn't actually mean that the string doesn't contain a GUID though. I haven't run it through yet to see, but I do ...Show All
Software Development for Windows Vista Determine NTFS Partition Version
Is there a way to determine if a particular NTFS partition is NTFS3 (NT4, 2000) or NTFS5 (XP+) http://www.windowsnetworking.com/kbase/WindowsTips/WindowsXP/AdminTips/TroubleShooting/WhichversionofNTFSamIrunning.html ...Show All
SQL Server Iterating the rows of a script component
Hi There, Can someone please let me know what is the best way to iterate the output rows of a script component and stick in those ids in a where clause of a select query (to retrieve additional info from a database) Is this possible at all If not, what is the best way to deal with this situation Thanks a lot!! Thanks Jamie. I will investigate it. By the way, if I have a dataflow task(source and the destination) in a foreach loop container and if the number of items it is iterating is x items , does it mean that it will make x calls to the source database Thanks. ...Show All
SQL Server Documented object name
I have been trying to gather information on the task log and have noted an inconsistency with the naming of an object within BOL 2005. Please have a look at the original post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=277667&SiteID=1 Forgot to mention, but I did have a look at the handels to find out which file was being access so that I could provide the filename and version but I couldn't find out exactely which one: (if you want, let me know which file it is so that I can send you the version) C: File C:\Program Files\Common Files\Microsoft Shared\Help 8 10: File C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0de06acd A4: File C:\WINDOWS\W ...Show All
Visual C# How can i set/get metadata of a file
Hi, Is there any .Net class or methods to set or get metadata (like Autor, Title, Description etc...) of .png, .jpeg files Any idea Thanks! Thanks a lot PJ! It's work! The Id was not correct (i.e. Title: propItem.Id == 800, see PropertyItemDescription for the definition of other Id). Actualy i can read these properties only with Paint Shop. I can't with MS Paint or with "right click" --> "Properties" of the image file. Is there any reason ...Show All
SQL Server Converting negative integer from string to int
I'm having an issue using the data conversion task and trying to convert from a negative integer that is bounded by brackets e.g, (1) for -1. I keep getting an error that the value cannot be converted although I've tried all signed integer types. A Derived Column Tx would be my preferred option, as this could be done in a single transform. There is no need for the split either. The following expression should do the trick. It avoids the need for any conditional processing, are we +ve or -ve type stuff. The only thing I have not catered for is NULLs. (DT_I4)REPLACE(REPLACE([Column], "(", "-"), ")", "") ...Show All
.NET Development 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 ...Show All
Visual Studio Express Editions Link keys to control buttons
How do I link a key button to a control say button that does the same action For example after select a record from a grid instead of pressing the button, pressing the delete key on the keyboard will do the same job..thanks Regards Alu Ooops, i should think before posting :) Well, here's one improvement to the key checking: if ((e.KeyCode | e.Modifiers) == (Keys.Delete|Keys.Control)) That enables you to check if the Ctrl, Alt and Shift modifiers are pressed. ...Show All
