Eugenijus Drabuzinskas's Q&A profile
Smart Device Development Read sms from Inbox - WM 2003SE
Hi. How do I read sms from Inbox and "Sent items" It is most important to read from Inbox and the folders I have created under Inbox. I have almost 13.000 sms that I want to store on my computer in a txt file, html, xml file or something. I just need it to be on the computer because I soon should have a new Pocket PC. How do I read sms from Inbox/subfolders and save them(Who the sms is from, when(date and time) and the text) in a file I hope you can help, because it is very important to me that I can save all my sms and read them later when I want, on my computer. yeah,i want to kwon.at here http://www.inthehand.com/WindowsMobile.aspx , but it's not free. ...Show All
Visual Basic check assembly
i need to Check Whether the assembly is already running in the process when i start the same assembly ( to avoid duplication in assemblies running currently) i need one copy of assembly to run at a time.. is there any property to set or how to check if its an executable assembly, your app, you can get the list of processes by name and if it already exists then you know that another instance is running: Dim theProcesses() as Process = System.Diagnostics.Process.GetProcessByName(" yourAppName ") if theProcesses.Length > 1 then 'another process running end if ...Show All
Visual Basic Get email-activated groups from Active Directory using LDAP
Hi there, We have VB.net project which should have a function to import all email groups and user members in the application's database. I have a problem identifying groups in Active Directory which are email-activated. I'm able to start a LDAP query to get all groups and there members. But I can't find a way to identify the email groups. Do you know the right value in LDAP or some kind of listing for these groups ...Show All
.NET Development how do you clone a hard drive
I'm tring to write a program to clone and or image a hard drive and put it into virtual pc.I figured it would be a console app. and i need the system::IO namespace but I've never used the iCloneable clone() method before. So i'm looking for some advise on where to begin. icannot use norton ghost or a produce like this, i must come up with this on my own. I'm in my intership for school so any advise would be great. i hope i put this in he right spot. thank you. thank you for the help on this. The info you gave me was great. when you say normal .net api are you refering to system.io.filestream read() ...Show All
Windows Forms How to edit data with DataGridView.
Hello, I have a DataGridView from which i enter data to an Access database file. The DBV has 5 columns (2 comboxes, 2 datetimepicker, 1 textbox). I have a save button on my form which with the on_click event saves the data that exists in the DGV. Note that the 2 combobox columns get data from a table in the database file. What i want to do is to edit these data after they have been added in the database with a DGV that has the same 5 columns. Is this possible, and how can i do it Thank you in advaced. For comboboxes: goto edit columns in the DGV and change the Columntype to combobox. The datetimepicker is not standard available in a DGV. ...Show All
.NET Development check SQL Server database/table size
how can I check the SQL Server database & table size (in MB) using C# Have you looked at the sp_spaceused stored procedure Check it out: http://msdn2.microsoft.com/en-us/library/ms188776.aspx ...Show All
Windows Forms How to bubble down a mouse event
I got a panel that has one control A inside it. I need to catch the MouseEnter event while i am in the panel and over A. Anyone knows how to do that Hook up the MouseEnter/MouseLeave event of the panel's child controls. You could even subclass Panel and have it as a self-contained control with your desired behaviour. That way you will know when the mouse is still within the confines of the panel. ...Show All
SQL Server How Do I embed a RegEx in a Report Model
I am having trouble figuring out how to create a new expression-based field in a report model that relies upon the result of a regular expression. It looks like I cannot make calls to static methods in the .NET in a report model. Correct Here is my attempt at the expression I want: =IF((System.Text.RegularExpressions.Regex.IsMatch( PreferedEmail )),True,False) The error returned when I attempt to save the expression in Report Model Designer is "The following is character is not valid: ." BTW, the message is copied verbatim. The poor grammer is not my fault. I'm going to go out on a limb here & guess that you've never tried that in a Report Model (SDML). You absolutely can do that in an expre ...Show All
Visual Studio Team System WebTestDataNofoundException when running a load test
Hi, Am very new to performing testing and the vsts. I am trying to run a loadtest having one webtest under it. This webtest picks username and password from a CSV file.(It has 2 usernames and passwords) I have selected "One Run per Row" in the config file for the webtest. Also i have set the accessMethod as "Unique" The number of users in the load test is configured as 2. When I run this load test it gives me a webtestnodatafoundexception error. The error is as follows:- Exception WebTestEndOfDataException No more rows of data in a data source table with AccessMethod Unique 2. I also need help how to do a performance test for a website. I have identified the features in the website ...Show All
Visual Studio Express Editions Saving .txt files with rich text box?
Hi, im working on a notepad program. Im using a rich text box, and wanna know how to save .txt formats The problem is that when i save rich text files (.rtf) it works fine but when i save text files as (.txt) it shows some weird stuff like this: =Save as RTF FILE TYPE= Hi this is a test! -------------------------------------------------- =Save as Txt file type= {\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 Microsoft Sans Serif;}} \viewkind4\uc1\pard\f0\fs17 hi this is a test\par } � -------------------- how do i make the txt save not show the other stuff Thanks in advance. didnt work =( i need it to do this: if the text file is being s ...Show All
Visual C# RTF Encoded Caret Position
Hi all, I am looking for a way to insert text into a RichTextBox at the current caret position. The trouble is that I am trying to preserve the rtf formating in the box. The obvious answer (first I tried): rtb.Rtf = rtb.Rtf.Insert(rtb.SelectionStart, "Hello!"); The problem is that SelectionStart returns the caret position in the unencoded text, while the string represented by the Rtf property has all of the rich text control words as well. So the essential question is "How do I find the current caret position in the encoded rtf of a RichTextBox " Irephin, if you want to insert a string into a RichTextBox, you can simply assign the "SelectedText" property. When ther ...Show All
Visual Studio 2008 (Pre-release) sample source to return stream from service to client
I've got a service returning IEnumeration<Customers>, and sometimes this set can get larger than the buffer size of 64k. Now, instead of raising the buffer size I'd like to return the data as a stream, but am somehow blind how to achieve this using serialization. My service right now is something like this: IEnumerable < Customers > GetSomeCustomers() { return SomeCustomers(); } My client does call this using a proxy: IEnumerable < Customers > somecust = myProxy.GetSomeCustomers(); Now my Service would need to serialize the data referring to the DataContract of Customers, and return a stream, but I don't know how to serialize and deserialize the return value of my s ...Show All
SQL Server Performance of sqlserver drops few times per hour
Approx. 3 times per hour sqlserver is writing data for 8 to 10 seconds. What it is writing i dont know, but the result of this is that the duration of executing queries is much larger then normal ( 10 times ). Normally the query takes up to 400 milliseconds, and during this writing problem, it takes 6 or more seconds. Sqlserver is not doing backups when this happens. Does anyone have any idea Great 2 answers and they both helped me :) Thanks people it was the checkpoint. Now i need to find a way to do more checkpoints in an hour. Anyone an idea Thanks ...Show All
Smart Device Development POOM scripting
Hi, I have been playing with the POOM API to write javascript code within asp pages hosted in the device web server (HTTPD). I've seen a lot of javascript code in the internet that uses the "PocketOutlook.Application" ActiveX object. The javascript code I write to instantiate and use this object is something like that: var pol = new ActiveXObject("pocketoutlook.application"); pol.logon(); // ... The object is created but when I try to invoke the logon method there is a javascript exception because the method is not found. Could it be a problem with the default COM interface that I am getting Is there a way of solving this issue Is there another way of doing that MAPI Could I create a COM wrapper for the .Net object t ...Show All
Visual Studio Express Editions Making Form Startup Automatically
Is there a way to make your form startup whenever you computer turns on So when you turn on your computer your form will pop up and you can do what you want with it. You will have to write the code...for the registry use Microsoft . Win32 . Registry () ...Show All
