magicalclick's Q&A profile
Smart Device Development Saving sms to the inbox
Hi I am developing an application in vb.net CF to send the SMS from pocket pc I got one demo from the following link :. http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnnetcomp/html/netcfsendsms.asp I can send messages to other mobiles but it's just displaying it on the mobile , I want it to save in the inbox . Anybody please give me solution for it . thanks. Hi I am developing an application in vb.net CF to send the SMS from pocket pc I got one demo from the following link :. http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnnetcomp/html/netcfsendsms.asp I can send messages to other mobiles but it's just displaying it on the mob ...Show All
Visual Studio Express Editions close the first program after the command shell?
Hi, I wrote a program that calls to another program with the command "shell". But I want that the program that run\call another program will close(the first program) automatically after the shell command. Any ideas Regards, Yaniv ...Show All
.NET Development Retrieving @@Identity from Access database table
I just tried the code in http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=58862&SiteID=1 and it doesn't work in the partial class that is part of the dataset designer because the _adapter is a private event. When compiling I get the message:"Error 3 Handles clause requires a WithEvents variable defined in the containing type or one of its base types. " Any idea how to work around this What partial class are you extending with your code Have you checked the generated code to make sure that you attaching the correct field name _adapter should be a private field, not an event. Finally, what provider are you wrapping DbDataAdapter itself doesn't implement the RowUpdated event, so each ...Show All
Visual Studio Release / Debug Dorp Down Configuration menu missing
I have the VS.NEt 2005 Standart. It used to be that the Release / Debug Configuration drop down menu was available on the toolbar. I recently had to reinstall the VS.NET and it's gone. I can no longer compile the application (in my case ASp.NET website) into Release mode. Any idea how I can put it back in the VS.NET Aha, thank you very much. The Customize menu, I had no idea what that was for. Nowhere does it say that it is a drag-n-drop repository! I accidentally made my debug/release picklist disappear, couldn't find it anywhere. Thanks for the info, Rich! ...Show All
Smart Device Development Opening XML File on Pocket PC
I'm trying to load an xml file in Pocket PC, but its giving me DirectoryNotFoundException. I know why the exception is occuring becaue Pocket PC file structure is not like the local Drive system we have in windows. I'm trying to do the following to resolve the exception but it still does not works: String path = Environment.GetFolderPath(Environment.SpecialFolder.Programs) + "\\MyPocketCal2003\\QuantitiesUnits.xml"; String path = Environment.GetFolderPath(Environment.SpecialFolder.Programs) + "\\MyPocketCal2003\\MyPocketCal2003\\QuantitiesUnits.xml"; Please suggest a solution. You absolutely can. In fact that is the common way to solve the issue f hard coded paths. There’s even “ho ...Show All
Visual Basic keylisteners in vb
how to implement keylisteners in vb.i want the password entered to be edited to charecters in odd and even positions and store the two separately for my college project.am using visualstudio 2003 for developing it.can somebody help it not sure I quite follow. You can implement one or more of the the key events (keyup/keydown/kepress) of the textbox and do whatever you want when they press a key in that textbox. how do you mean by store them in odd and even positions store the characters to what what about the odd/even positioning ...Show All
Visual Studio 2008 (Pre-release) Drawing Triangle Indices in a Concave shapes.
Hello All, I want to draw triangle indices for my shape which in 2D looks like this: <Page xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:sys="clr-namespace:System;assembly=mscorlib" xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml " > <Grid> <Path Data="M0,80 C0,0, 80,0, 100,0" Stroke="Black" StrokeThickness="1" Name="P1" Margin="0,0,0,0" VerticalAlignment="Top"/> <Path Data="M100,0 L120,0 120,30 145,30 145,0 165,0" Stroke="Black" StrokeThickness="1" Name="P2" Margin="0,0,0,0"/> <Path Data="M165,0 L185,0 185,30 193,30 193,8 202,8 202,30 ...Show All
Smart Device Development ActiveSync error 85010017
Active sync was working fine for over a month then 85010017 cropped up. Tried the FAQ stuff, - nothing Reinstalled with ActiveSync 4.2- it connected but no sync after 5 minutes of trying, error 85010017 again. Did last patch of Outlook2003 screw things up FAQ indicates I should get 85010014 if thats happening. Help! This forum is smart device development related. Since your question is not related to smart device development, it's off topic here. Please post to relevant forum or news group: http://support.microsoft.com/newsgroups/default.aspx Closing as off topic. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Tiling a texture?
Hey, I have a 3d terrain system. The terrain is built using a heightmap image. Then I have a large texture that I paste over the top, this covers the complete terrain. I'd like to be able to dispose of the one large terrain texture image and use tiling and different layers for different tiles. (Texture splattering, I think this is called). However, for now I'll be happy with just tiling my grass texture over the top of my terrain instead of it automatically scaling. Can anyone point me in the right direction to repeat and tile my texture rather than stretch to fit Thanks Ah, ok, thats very strange its as if your AddressU and AddressV states are set to Clamp, but I can clearly see you have ...Show All
.NET Development How to delete specific DataRow in DataSet?
Hey guys, I am trying to delete a specific xml datarow with a specific value but it's not working out for me. Here's my code and the error I receive: DataSet ds = new DataSet(); StreamReader sr = new StreamReader(pathToFile + "AlertSettings.xml"); ds.ReadXml(sr); sr.Close(); DataRow rowToDelete = ds.Tables[0].NewRow(); rowToDelete["PublicationToAlert"] = publication; if (ds.Tables[0].Rows.Contains(rowToDelete)) { ds.Tables[0].Rows.Remove(rowToDelete); ds.AcceptChanges(); ds.WriteXml(pathToFile + "AlertSettings.xml", XmlWriteMode.IgnoreSchema); } Here is the error message: "The given DataRow ...Show All
Windows Forms MDI Parent within MDI Parent in Winform application
Hi, I am migrating an application from MFC to Windows .NET application using Winforms & C#. In the old MFC appliation, we have the main application window as MDI parent which can contain multiple MDI parent forms (which in turn contain multiple child forms). Is there a way I can have similar structure in .NET (multiple MDI parents of same type within one MDI parent of another type Thanks in advance... Hrishikesh When using AddOwnedForm, it won't add the child in the MDIChildren collection but will add in the OwnedForms collection. As correctly pointed out by you, I am facing the 2 problems that you mentioned. I have managed to implement the meu strip myself. I still haven't found ...Show All
Visual C++ how to link microphone(hardware) with C++ programing?
i'm doing voice recognition using C++ programming And i have a problem with the linking the microphone to my program code to record a sound Can anyone help me thanks.... Can't you use Microsoft Speech SDK it has GetAudioInputs Method to get the available audio input http://www.microsoft.com/speech/download/sdk51/ ...Show All
.NET Development I am misunderstanding one step for signing an assembly using the Assembly Linker:
I have only a single file assembly MyAssembly.dll that I am preparing to be in the GAC. so I do this: I create a key using : SN –k myKey.snk Then how do I sign myassembly.dll with the key in mykey.snk using AL.exe (I don t want it to be automatic using VS2003) In Microsoft Doc, they say we should use: - Al /out:myassembly.dll Mymodule.netmodule /keyfile:mykey.snk The pb I don t have Mymodule.netmodule and I don t know what it refers to. What if I have no netmodule, does that make sense. Am I in the right place to ask these kinds of questions Thank you Thanks Ian. graet article. just one thing i didn t understand. Why do we use delay signing. Is nt delay signing used to allow signing the assembly with ...Show All
Software Development for Windows Vista CreateWorkflow Exception
I created a State Machine Workflow Console Application with the Visual Studio Project Wizard. When I run it I get an InvalidOperation Exception when calling the CreateWorkflow Method. Additional Information: "The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly" Anyone an idea how I can solve this problem thank you in advance. This was the problem. No performance counters were installed. I installed the .net 3.0 framework again and now the program runs. The thing is, I installed it on the same machine and with the same user account as before. But anyway, Thank you very much :-) ...Show All
Visual C# Language problem !?
Hi there, I need to change language in whole application. Now i'm doing this by statement: Thread.CurrentThread.CurrentUICulture. But i need to change language for all threads not only for current one - moreover i need to change it for thread that are not spawned yet. (I have many resource managers spread over many assemblies). The question is.. What is the best way to do this Is it possible Thank for any clue, M I'm afraid you'll have to do it in each thread that displays a user interface. However, most threads other than the main one do NOT display a user interface, so it's not really a problem. (Other threads usually end up checking InvokeRequired and then calling Invoke() to transition to the main UI ...Show All
