Misiacik7's Q&A profile
Smart Device Development Access command prompt in the emulator
Can any way we can go to the command prompt in the emulator. I want's to start one service using services.exe on the command prompt Sorry sorry. You need to make a call to ActivateService to load a service into services.exe. You can't load the process directly by calling the above code. Try looking here: http://msdn.microsoft.com/library/default.asp url=/library/en-us/wcecomm5/html/wce50lrfactivateservice.asp Looks like this is a C++ call so you will have to use DLLImport to use it. You should also note that WM 5.0 Smartphones have heavy restrictions regarding services.exe. You will probably need a priveledged certificate unless you are running on an open device. You can get priviledged certificates by entering the Mobile ...Show All
Visual C# Help on creating my first Collection
Am struggling, please help! (entry level help required please.) I have created a two classes in my namespace, one for Shareholder and one for Shareholders. When I try to create a list in the Shareholders class, using the following syntax: private List<Shareholder> shareholderCollection = new List<Shareholder>(); I get the following compile errors: - Error 1 Invalid token '(' in class, struct, or interface member declaration - Error 2 Class, struct, or interface method must have a return type - Error 3 Type expected What am I doing wrong TIA, JackStri. Thanks Michael. Managed to sort this out; turned out to be a field definition that was in the wrong place, and thus c ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Issue with HowTo: Rotate and Move a Camera?
I'm trying to work on figuring out some simple camera manipulation and have been going through the information on the How To: Rotate and Move a Camera. At the bottom of the help file is what appears to be the complete code needed to run the example. However, this code does not compile when pasted in a new project; the method FrameRender() refers to an undefined method called UpdateCamera(). Is this method something missing from the example It's definately missing, though I'm not sure exactly what kinda of camera it's trying to use when gameState=0! If you comment out the offending line, and hit Tab when you run it, it'll move to the next state, so you can play around with it, just ignoring the unknown camera state :) (dont' ...Show All
Visual Basic What can you do with Visual Basic 2005 with already constructed programs?
Hey all... Over the years I've became more and more interested in Visual Basic and now that I see the language everytime a Debugging Error message pops up in Windows, I want to see what all I can do with it after, or if I can ever completely learn it. Visual Basic - Is the language primarily in an EXE file Or a DLL file Or Both Don't take this the wrong way but, if I wanted to see how a program is constructed (ie Winamp) only to learn how to build things myself (not to steal an idea). See, that's how I learn. I've dabbled in Visual Basic a little when I had to teach myself that program in addition to MS Access and I did it all asking questions like this. I've always wanted to see if Visual Studio would be capable of fixing ...Show All
Visual Studio Tools for Office Reading an attachment's content in the memory
Hey all, I'm trying to do something that i thought to be simple but.... it was'nt. i want to read the attachment in the memory (supose its a text file). i've already got the Outlook.Attachment object, but cant seem to find a way to read its content withought saving it to the file system (wich is no good for me). any help will be great, thanks. If you're using Outlook objects, then you need to go through the file system. You'd have to use Extended MAPI (not supported in .NET) to get to the attachment without doing that. ...Show All
Visual Studio Team System check differents elements
Hello, I would like to create some rules to check the naming conventions. I found alot of differents things really interesting. But i(d like to check if an element is : -constant -registerKey -parameter -control -delegate classe -exception classe -collection classe with the the override method "check". Can you help me Thanks Constant - Check(Member), cast it to Field and look at Field.IsLiteral Parameter - Check(Parameter) Delegate - Check(TypeNode) and cast to DelegateNode Properties - Check(Member), cast it to a Property Events - Check(Member), cast it to Event Try the above, this will get you started. Determining the other types is little ...Show All
.NET Development Moving from old API functionality to Framework 2.0
Dear folks, I’ve inherited an old vb6 project which uses API nt services along with functions such as the following: Private Declare Function OpenSCManager _ Lib "advapi32" Alias "OpenSCManagerA" _ Private Declare Function CreateService _ Lib "advapi32" Alias "CreateServiceA" _ Private Declare Function DeleteService _ Private Declare Function CloseServiceHandle _ Private Declare Function OpenService _ Private Declare Function QueryServiceConfig I haven’t idea how to develop this logic through Visual Studio 2005. So that I’m looking for the same stuff but totally focused to Net 2.0. How do I Thanks in advance for any ...Show All
Visual C++ Adding images
Hi all, I'm trying to add an image to a Dialog box, I've tried to create a bitmap resource and adding it to an image control on the dialog, but I you can only add images of 256 colours, is there any way I can add a full colour image to a dialog box Cheers for any help Pete Thanks Viorel, that's spot on - I thought I had to copy and paste it into the resource editor, but you're right I can insert any bitmap, it just means I can't edit it from within Visual C++ which is fine. Thanks for that! Pete ...Show All
Visual Studio Little trick: Run solution in Exp hive via 'Send To' menu
Hi, Maybe this trick will help you to save time... Create a shortcut in C:\Documents and Settings\<your_account>\SendTo\ directory and set "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\devenv.exe" /rootsuffix Exp as a location of item. That's all - now you can Send any .sln file To be opened with devenv in Exp hive! Thank you, Carl! But your reply is not an answer because there is no question posted... So I 've unmarked it. ...Show All
Windows Live Developer Forums how can I relate my controls with a map
Hello, All. I add some number of controls into my map by map.AddControl(label) method. How can I relate my controls with my map I want my controls changes their position after a change in the center point of my map. Thanks. I could re-word your question to say that currently you can add a <div> to the map but only at a given pixel postion, it would be a great feature to be able to add it at a lat/long so as the map panned / zoomed so would the div. The div could be hidden when not in the map view. The only way to do this currently is to manually update the div's position. You choose the map events that are of interest (for performance i only hide the divs when panning and then redraw them when th ...Show All
Visual C# Best material explaining events and delegates.
Hi all, I have been developing .NET applications for over 2 years now, and yet I still cant get my head around events and delegates, and how they work. Every now and then I read up on them but still cant grasp it. I really don't know what I am missing. I have read the events chapter from the following book (which does explain it well), but I still cant get my head around it... Book: Pro C# 2005 and the .NET 2.0 Platform So, I thought I'd ask you lot if you know of any online resources, or even MSDN webcasts (I find I learn alot from these) that will help me to fully understand events and delegates. Thanks in advance. Tryst Hi Tryst, I also read that book, I thought it did a good job of explaining the topic, is there something in ...Show All
Windows Forms CallBack in GridView
Hello: I am in the process of extending GridView and adding some functionalities. For example, I added a single row click to postback and handle the event. I would like now to be able to do a CallBack instead of PostBack. Do you know if there is a whitepaper on how that CallBack functionality is added to the Grid currently through sorting and paging I believe it is better to follow the same technique used. I have been trying for some time, im getting all the needed methods and functions, and I have added for example: Grid1.EditIndex = e.GridViewRow.RowIndex; inside the handler of the sinlge click which is being fired upon a callback, I am doing debugging and I am going to that method, but nothing is changing on the grid. ...Show All
Visual Studio Team System XMLSPY and TFS
Hello Everyone, We are considering making the leap to TFS, but we have designers and XSLT developers who must be able to connect to TFS source control. They use Dreamweaver and XMLSpy respectively and do not have Visual Studio installed. How can we support them Is there a separate client like there was with SourceSafe that they can use Thank you in advance, Ryan G. We have a MSSCCI provider that should work if those apps support the MSSCCI plug-in model (it sounds like they do if there was SourceSafe support). http://www.microsoft.com/downloads/details.aspx FamilyId=87E1FFBD-A484-4C3A-8776-D560AB1E6198&displaylang=en If you have any issues with it, you can post them in this forum. ...Show All
Visual C++ linking problems with templates
Hi people, i'm using a templated class on my dll and it compiles and link fine, but I find that it has introduced some symbols of my templated class on the dll. It also happens with any program that includes that templated class so I have linking errors on programs that use this library because of the redefined symbols. I'm feeling fairly certain that the problem is in your project or header setup, though. I downloaded the VNL library, compensated the other missing types and compiled a static library from the code you provided. That worked out just fine. Even with use in an external project, everything compiled like a charm. Could you shed any more light on your setup, or perhaps make your project publ ...Show All
.NET Development Remoting not working over firewall / NAT
I'm trying to create a two way remoting app where the server can raise events to the clients and the client can call methods on the server. So far my application works fine on the same LAN but once its distributed on the internet the server cannot raise events to the client. I am able to successfully telnet to my server when distributed on the internet and I see that the client can call my server successfully. I've also set the "machineName" in the configuration. Here is my setup which has all ports opened needed for communication [Client] <-----> [Pix Firewall] <-----> [Internet] <-----> [Cable]<-----> [Lynksys Router/Hub]<-----> [Server] Any help would be appreciated. I've attached my code a ...Show All
