ClaudiaHelpOnVSTO's Q&A profile
Smart Device Development Inbuilt camera capture event on the smart phone- Urgent
hi all, I already made the application for the cameracapturing. Now due to the demand of the company, i need to develop such a thing that, if the user opens the built in camera of the device, and captures the image, i can track that capture event and display the menu: "Upload file" "Send to friend" these r the options of my application. I dnt knw how to do atall.Please help needed urgently.Also how can i get the format and the file name by which the built in camera saves the file, as soon as it clicks Thanx in advance. Oh, yes, one more thing. Do you mind not adding "Urgent" to your subject It's not helping ...Show All
Windows Forms Split string to datatable
Hi, I have large string. I want to parse it by delimeter and input to datatable. All lines in string are ended by "\n" (vbcrlf) character. The delimeter is specified by user (like comma, tab, space or something else). So how can I do this Thank's Alexei can you try this; define and create a datatable while parsing string { get the line and remove '\n' split the string create a row loop thru the string array { if column[index] is null then insert a new column to the datatable assign the string to the current column } } ...Show All
Visual C++ No memory leak detection in native lib when called via managed wrapper (c++/cli)?!
Hi, I'm testing around with a native library (c++) and it's managed wrapper (c++/cli). The wrapper is called by a little c#-program. In the native library I inserted some pieces of code for memory leak detection like: #define _CRTDBG_MAP_ALLOC #include <stdlib.h> #include <crtdbg.h> and _CrtDumpMemoryLeaks(); It works "fine" (it detects memory leaks) when I call it from a native exe-project like: int _tmain(int argc, _TCHAR* argv[]) { VConcreteClass1* pObj = new VConcreteClass1(); return 0; } Then the output-window in my vs2005 shows: Detected memory leaks! Dumping objects -> .... But when I create an object of the VConcreteClass1 via VConcreteClass1* pObj = new VConcreteClass1(); and without delete pObj; then ...Show All
.NET Development Retreive information from registry...
I need to retreive some information from the registry. 1) How do I open a registry key 2) How do I check/read the value 3) How can I copy that value into a label Thank you very much, BTW: Is it possible to retreive system memory information from the registry Hi You can use the Registry and RegistryKey class. You can refer the MSDN or VS help. Regards ...Show All
Software Development for Windows Vista ezrgb24 fatal error LNK1104: cannot open file '..\..\BaseClasses\debug\strmbasd.lib'
When I am trying out the sample filter provided by DirectX SDK. The error "ezrgb24 fatal error LNK1104: cannot open file '..\..\BaseClasses\debug\strmbasd.lib'" happen. Do you know how to solve it I have included the path in tools->options->directory. And I have searched all the files in my system, but no strmbasd.lib found. How could I do and how to get the strmbasd.lib file Thanks for help. Thanks for your reply! But I didn't find the lib file "strmbasd.lib" from DirectX SDK. How could I get the lib file ...Show All
.NET Development FileIOPermission ACL Question
Hi, I've got myself very confused about the usage of the FileIOPermission.Demand method. For example; If I supply a path that I do not have "write" permissions to via ACL: FileIOPermission fileIOPermission = new FileIOPermission ( FileIOPermissionAccess .Write, @" \\server\path\path2\path3 " ); fileIOPermission.Demand(); The demand does not fail as I expected. I've search the forum and found the following: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=149239&SiteID=1 I amended my code to no avail. I've obviously got the wrong end of the stick about how this works! I was assuming it worked by looking at the permissions on the folder or file. Does it just evaulate the assembly evidence ...Show All
Software Development for Windows Vista How to host data access objects for high volume, distributed systems given current state of .NET?
I’ve created a set of data access (DA) objects that connect to a dbms, do O-R mapping, return custom business objects, etc. Following advice I’ve read here and elsewhere, I’ve kept them separate from any hosting environment, e.g. Enterprise Services. Now I need to figure out how to host them in a high-volume, distributed system, but I have questions as to the best way to go about hosting these babies for remote access, given that a new generation of .NET is imminent, but is not yet all the way here. A brief system description is below, as well as my questions. Can anyone help me out I think the discussion is a worthy one; there must be other folks asking similar questions right about now. Thanks in advance, ...Show All
.NET Development Web service how to monitor http request?
Hi everyone, I have a web service running in my host (accepts SOAP requests).... I just want to monitor/read (store the HTTP url) the urls comes from my clients. How to do this in my server side not from the client side. Please help me. thanks Hi, You have to add some custom code to read the server variables in your web service class, or just add that code in a soap extension. You can get the server variables from the HttpContext, HttpContext .Current.Request.ServerVariables["remote_http"] Regards, Pablo. ...Show All
Windows Forms getting error when deleting a row from an MSDE database using datagrid control
I am using Visual C#.Net 2003. I am doing really simple stuff here. I am updating a single table through a datagrid. Everything works except the delete. I keep getting 'deleted row information cannot be accessed through the row'. I have tried just about everything to get past this error. Before applying the changes, I do go through the rows on the table and make sure that the key fields are set properly. I don't want the user to have to worry about the key fields. They are already displayed at the top of the panel. If it is an insert, the key fields will contain zeros. I will update those with the information displayed at the top of the panel and then apply the updates. What do I need to do to get past this error It is getting very ...Show All
.NET Development How to monitor an I/O event from a separate process?
I have a third party application that reads a file. I am trying to create an new application that writes updates to the file after that 3rd party app reads it. Is it possible to monitor file access from .NET on the O/S level to trigger my application to syncronize read and writes over time How would you do it If this is not possible, how would you solve this problem other than recreating the third party application (which is not realistically possible) I/O monitoring seems to be possible, as there are programs like http://www.sysinternals.com/Utilities/Filemon.html that does it. I just need to know how they hook into Windows and trigger an event ...Show All
SQL Server Backup the Transmission queue
My normal scenario is tills sending live slaes to head office via service Broker queue. Sales are sent as soon as sale is made(normally tills on adsl lines), a loss of a Link to head office will still allow a sale to be made with the sale sitting in the transmission queue on the till but has not been commited at HO to adjust stock etc, until the link is back up. My worry is link goes down with several sales siting in the queue and then hardware failure. Is their a mechanism to backup the Transmission queue in the case of no link If you could back up the transmission queue at a till could i then take those messages and copy them into head offices queue for processing, this is in the case of ...Show All
Visual Studio Team System Schema Compare differences caused by extra parenthesis
I tried schema compare for the first time and got a lot of false differences on defaults and check constraints because the script generator adds parens to numeric literals. I started by importing a schema (reverse engineering) an existing SQL 2000 db in a new SQL 2005 project, making some changes, and then doing a schema comparison between the project and the original db. Some differences were merely changing a column data type from "bit not null default (0)" to "bit not null default ((0))". I realize that the script generator loves to add parens, but could it be made intelligent enough not to add redundant ones It was observed that when Schema Compare Tools Options "Trea ...Show All
Windows Forms Dataview rejectchanges
Hi all, I have a dataview of tblUsers and I would like to rejectchanges() when a cancel button is clicked. The textbox has say a name in it 'Joe Bloggs' and I change it to 'Joe' then I click the cancel button but it does not revert back to the original. My code in the cancel button click is below. Dim dt As DataTable For Each dt In DsUserRoles1.Tables dt.RejectChanges() Next It seems the&nbs ...Show All
.NET Development Searching for a file in multiple paths
Anyone know if there is a builtin method or something in, say, System.IO that allows one to find a file given a path list Something like: System.IO.File file = System.IO.Path.FindFile("myFile.txt","c:\;c:\temp;d:\files\myfiles\etc;"); This would return a file or file name. Thanks Thomas. My thinking about the string path is that it would be possible to pull it from an environment variable like the PATH environment variable and use it directly. Curtis ...Show All
SQL Server permissions
I have a database with two tables. One is updated only through a form. The other is updated through a form that is attached to a query that is attached to the table. I cannot figure out what permissions are required to update the second table. What permissions should I grant in addition to the permissions that are granted to the first table as I can update the first table. The query is just used to sort the table for better presentation in the form that is used to input new records in that table. The front end im using is access. What should I do ...Show All
