chamal J's Q&A profile
Smart Device Development Send SMS as plain text
Hi, I tested the sample Sending SMS application in compact framework. It sends sms as a flash format. But I need plain text format. How to send sms as plain text format Please send your suggestions or links. Thanx, M. GANESAN Flash format is a sms is displayed at the front we can't save that only we can see. But if you sent a sms as plain text, we can save that in the device. I got the output. If you give the Service Provider information to the SMSSendMessage() API, the message will be sent as a plain text format otherwise you are not giving provider information the message will be sent as flash format. Thanx, M. GANESAN ...Show All
Windows Forms .gif Form use
Hi, I have a (.gif) on my main form. On the form load event I have Me.pictureGIF.Visible = False. I want the (.gif) to appear and animate when the user clicks an import button(a process that takes about one minute and freezes the form.) My code looks like this.... Private Sub btnImport_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnImport.Click Me.pictureGIF.Visible = True 'run the rest of the btnImport_Click event. This event actually loads a fixed width text file into a Datagridview. Me.picutureGIF.Visible = False End Sub The trouble I'm having is that the (.gif) never appears unless I remove the last line(Me.pictureGIF.Visible =False). But that's not what I want b ...Show All
Windows Forms DataGridView Scientific Format Data Entry
Hi, This is a data grid used in Visual Studio 2005 (managed C++). The entries into the columns set either in numeric or scientific format cause exceptions without the data being entered. This is when a number in scientific notation is programatically entered into the column's cells. Any idea or observation to cicumvent the problem Best Regard, Reza Bemanian ...Show All
Visual Basic Program Execution Speed
How can i measure how long each part of my program takes to execute, so i can know where the slow parts are I am trying to find out what parts of my program are slow so i can make them faster. Do you need the entire table or can you simply retrieve a smaller subset of the data. Can you implement a solution whereby these adds or updates are implemented as stored procedures - so you are simply running and update or update query on the SQL Server Doing table actions on a client - involves a considerably amount of data being moved from the server to the client to be processed to be moved back to the server. If the tasks can be implemented in SQL stored procedures - you are simply running them on th ...Show All
.NET Development Adding a Primary Key column to a disconnected DataTable with existing rows
Hello, I obtain a DataTable through SqlAdaptor.Fill. Thereafter I use it as a disconnected DataTable. I need to add a PrimaryKey, AutoIncrement column to this DataTable. While I can easily: 1. add a column, 2. set its AutoIncrement to True, 3. add it to the DataTable's collection of Columns, 4. and then sset the DataTable's PrimaryKey property to this new column, ...this code does not auto populate the values for this PK column in the existing rows. Is there a quick way to do this, instead of looping through and setting values (and only setting AutoIncrement to True after the loop) Thanks Aneela Sorry, I posted without seeing your reply. The answer about Updates is that we ...Show All
Visual C++ dao namespace
How do I access the 'dao' namespace in C++ managed code In the other .Net languages I set I reference to the DAO library and then use either a 'using dao' statement in C# or an 'imports dao' in VB. Doing the same thing in C++ and using a "using namespace dao" statement results in a C2871 error "a namespace with this name does not exist". Any suggestions Add COM reference to Microsoft DAO 3.6 Object Library. Use DAO in the code by the following way: DAO::DBEngine^ dbEngine = gcnew DAO::DBEngine(); DAO::Database^ db = dbEngine->OpenDatabase(L"Test.mdb", nullptr, nullptr, nullptr); ... You can add line using namespace DAO; and use DAO types without prefix: DBEngine^ dbEngine = gcnew DBEngine(); Datab ...Show All
Visual Basic Getting System Information
I have tryed to search for this question but I really don't no what part of the forum I should be looking in to, I did do a search and never really found what I'm looking for. I'm just making a little project on getting system information and I would like to know what Namespaces, etc I should be looking into, Thanks for the help. System.Management (WMI) System.Diagnostics System.Diagnostics.PerformanceCounter My.Computer.Info System.Evironment ...Show All
Windows Forms Windows Forms
When I try to add an image to a picture box ,I get the following error message. This error occurs with every control (i.e. with buttons, lables,etc) whithin the solotion. My project contains 4 sub project including a web service. Error: "An item with the same key has already been added" How to solve this problem. Check your resources to see if an image with that name is already present. It will not allow a duplicate image name in the resources for obvious reasons. Phil Wright http://www.componentfactory.com Free user interface controls for .NET2 ...Show All
Visual Studio Express Editions Saving Changes made in a dataset (Access2002) to the original datasource
I've just recently started using VB8 and I'm having some problem understanding the way data(changes) from my programm is to be handled, so it will be saved in the original database. I've setup the connection to the database and made a Dataset with the appropriat datatables. When I want to add a new 'record' to the database, using the command Me.SomeTableAdapter.Update() command, only the temporary database in the /bin-directory is updated and not the original one. This temporary database is of course overwritten by a new build. What am I doing wrong This is a well known issue. There are a couple ways to deal with. The way I deal with it is to move the database to the main directory to begin with. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 3D VERY slow on the XBOX
Im having a hard problem getting good FPS rates on the XBOX, everything turns around and gets alot slower. Does anyone have a solution, or reason for this That sounds like you now have a different problem, since GC overhead is totally gone in this new profile. What resolution are you running in, and what sort of screen is your Xbox connected to I'm wondering if this could be a problem with the game update rate not being quite in sync with the refresh rate of your screen ...Show All
Visual Studio Express Editions database
can u help with the display data, i have one mdf tha manages all the employees, but i'd like to show only one category... i searched the web and i found a look and find method but it didnt work.. how can i do do u know where to find an example... kisses there are also many examples on the forums on how to retrieve data and databind them to a bindable control and perhaps even show a specific column :-) Here are some links which hopefully will guide you to the right points: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=753872&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=728535&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=632326&SiteID=1 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Build for Xbox 360 and Windows in one project
I have created a Visual Studio project template that can be built for either Xbox 360 or Windows, by selecting the correct platform in the VS IDE. There's nothing particularly clever about this, it just uses some of the conditional abilities of MSBuild projects to merge the properties of an Xbox 360 XNA project with a Windows XNA project. There's a slight problem though - the VS Express C# IDE has, by default, disabled the build configuration and platform settings to present a simpler interface to beginners. In order to use this project template you need to re-enable these features and should probably have a reasonable understanding of what they do. This could be the reason that the XNA devs have mentioned that building for both platforms ...Show All
Windows Forms Icons in TreeView disappear in WinXP
I uses icons in a TreeView. When the program runs in Windows 2003, it looks fine; but the icons disappear when the same program runs in windows xp. The program is built in Whidbey Beta2. In Beta1, this problem does not exist. Go to the feedback center: http://lab.msdn.microsoft.com/productfeedback/Default.aspx ...Show All
.NET Development SOAP Validation Tool?
I've created a C# application which queries a Web Service. The service responds as expected, but when debugging Visual Studio says 'Server has committed a protocol violation. Section=ResponseStatusLine [in System.Net.WebException]. Is there any way to find out exactly what the problem is with this SOAP reply, either within visual studio or otherwise The SOAP being sent by the server is: < xml version="1.0" encoding="UTF-8" > <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> .<soapenv:Body> .<getCountResponse soapenv:encodingStyl ...Show All
Silverlight (formerly WPF/E) Japanese fonts issues
Hi All, If i try to reference a japanese font, SimHei placed in the same folder as my xaml. I get some squares charactors instead, in both glyphs and textblock elements. Is there any samples for displaying valid international strings. Thanks, slyi Eg: <TextBlock FontFamily="SimHei" FontSize="18px" Text="¥ 10月1日(日)" /> <Glyphs Fill="black" FontRenderingEmSize="18" FontUri="simhei.ttf" OriginY="45" OriginX="0" UnicodeString="¥ 10月1日(日)" /> Get displayed as : ¥ 10 □ 1 □□□□ □ 10月1日(日) Hi Slyi, Have you attempted to set the "Indices" property instead of the "UnicodeString" property For instance, I have been working on a project whe ...Show All
