Muricy's Q&A profile
Silverlight (formerly WPF/E) "Unexpected call to method or property access." when changing an image's source property.
I'm trying to change an image's source property in JavaScript. With some images, this line of code: image["source"] = "newimagepath"; throws this error in JavaScript: "Unexpected call to method or property access." Has anyone else seen this error Thanks! How do you get your image object Can you show the XAML that the image is defined in -mark Program Manager Microsoft This post is provided "as-is" ...Show All
Smart Device Development How to retrieve SMS content??
I would like to retrieve an incoming SMS content to a textbox., but i don't know how to retrieve the SMS content.... Any one can give me your hand Thanks !!! I've never tried it but take a look at this: http://msdn.microsoft.com/library/default.asp url=/library/en-us/mobilesdk5/html/T_Microsoft_WindowsMobile_PocketOutlook_SmsAccount.asp http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=408382&SiteID=1 ...Show All
.NET Development I want to protect my database from use out of my application
hi I am working in vb.net application, I almost finesh, the problem is : the application depend on MS access (.mdb )database file, the data is the most important in my aplication... so when I deploy the application on the user computer, any one can copy or access the data from the database and use it out of the application.....please tel me how can I prevent that Hi, I guess what TkNeo tries to say is just to provide a password for your database (Access MDB). The process on how to do this can be found on the link provided by TkNeo. http://support.microsoft.com/kb/289885 Also don't forget to specify the password in your connection string so that your application can access the data inside. Use ...Show All
Windows Forms XP OEM cd questions
hi there....i have a slight dilemma- a few years ago i purchased a pc with windows xp home installed, but the manufacturer was asking an exta 100 pounds for the OEM cd, which i thought was rediculous so i declined. now my sister has purchased a new pc base unit in the house which shipped with its own OEM cd and registration KEY, and i know my pc has its own registration key, but i was wondering if something happened to my pc and i needed to reboot it from the windows cd could i use hers. are activcation keys specific to each windows CD or are they only specific to the pc's This forum IS NOT for Windows troubleshooting questions. Please use the Microsoft Newsgroups to ask general Windows questions: ...Show All
Windows Forms DataSet row changed
I have a dataGridView component connected to a dataset. I can load the dataset and it populates the dataGridView fine. My problem is that I want to know as soon as a user has updated a row (made changes and moved focus from the row) or inserted a row (started a new row, inserted data in one or more columns, and moved focus from the row). I have tried events like the RowLeave event of the dataGridView with checking the HasChanges method of the dataset, but the combination has strange (to me) timing issues with determining when the change was really made. What is the correct event to use and method to call to know when the user has lost row focus on a dataViewGrid and the method that will tell me ASAP on loss of focus if data in the dataset ...Show All
Visual Studio plzz got tired !!! unable to use select expert
i want to allow my customer to define criteria by themself in crystal report 10 in vb 2005 as i was using it in vb 6 i use "enable select expert button " in the property of crviewer i want to do that same in crystal reports in vb.net 2005 but i cant see this "enable select expert button " property in the property of the cr control in vb.net so i wanna know hows that possible in .net. please reply as soon as possible or send my questions to the experts please my all work is pending without this please solve it as soon as possible thanking you ...Show All
Windows Forms Upgrade application using setup project (VS 2003)
Hi!. I have a program done in .NET . I use setup project to deploy it. This program has a DLL in GAC order that it can be acceded by other programs. The question is, if I want to update the DLL or the EXE, what must i do At the moment I increase the versi o n of the DLL and the EXE , if I try to execute the installer says to me that already I have a versio n installed of this application, if I change the version to the setup project I have two options: 1.-To change the product code and then installs them to me as a new program.... 2.-Not to change the product code and then says to me that already I have the installed product Thank you The Visual Studio way to do upgrades is RemovePreviousVersions. You ...Show All
Visual C# documentcomplete event
I've got a really weird problem with my application; it works on some pc's, and it doesn't on some others. What I've got: A Visual C# 2005 console application with references to MSHTML and SHDOCVW. I use mshtml to get a list of currently open browser windows, and attach events to it to edit the list when a new browser window is created or closed. I attach a documentComplete event to each open browser window and handle it the event there (let's say it prints out the url where is navigated to). So when I run this program, it should detect when I open a new browser window, when I close one, and it should print out the url of a site when it is done loading it. And there's my problem. On a few pc's, it all works perfectly. But o ...Show All
Commerce Server Failed to marshall data into the commerce dictionary
I have extended the OrderAddress class (created MyOrderAddress class, changed OrderObjectMappings.xml and OrderPipelineMappings.xml as detailed here: http://blogs.msdn.com/vkumar/archive/2006/06/28/649896.aspx However, when I start up my site and get to the point where I run the basket pipeline I get the following exception: Failed to marshall data into the commerce dictionary. For more information refer to trace logs. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: Microsoft.CommerceServer.Runtime.Orders.OrderFormMarshallingException: Failed to marshall data i ...Show All
Windows Forms WebBrowser - tracking button clicks
I'm using the VS 2005 control System.Windows.Forms.WebBrowser. I want to be able to track button clicks. If I've navigated from a page with multiple buttons, how can I tell which button was clicked Just tonight needed to figure this out myself. The WebBrowser.Document property exposes two events: Click and Focusing. Both contain HtmlEventArgs, which provide a ton of information about the click event - location in CLIENT coordinates (very important), whether any control keys were pressed with the click, the name of the event that was raised due to the click (think Javascript), both the html element LOSING focus, and the html element GAINING focus, which mouse buttons were pressed, and the return value o ...Show All
.NET Development INSERT INTO syntax error?
Hey all, I'm trying to insert a new row into my database manually, however this isn't goin' quite well. I am using Microsoft Access as my database. The table I am trying to enter a new record in is called 'tbl_hours' and the fields of this table are employee( string ), in( date/time ), out( date/time ), hours( double ). I've tried so many different things, but can't seem to figure out my syntax error. Any suggestions would be great. My code is as follows: Private Sub AddToLog( ByVal emp As Employee) 'The Employee class is a class that has the employee's name, time in, time out, and a function to calculate the total hours. Dim conn As New OleDbConnection(DB) Dim adapter As New OleDbDataAdapter Dim cb As ...Show All
.NET Development How to test for Null values in ADODB recordset in VB.Net
What is the easiest way to test for a Null value in an ADODB recordset when using VB.Net. The IsNull function does not work in VB.Net, or so it seems. Thanks I tried it as follows Dim nulltest as DBNull nulltest = DBNull.Value if rs.fields("Tonne").value = nulltest then but I get the following error Operator '=' not defined for types System.DBNull and Object ...Show All
Visual C++ Cannot Get Proper Build of Petzold's DLL Sample Code
I am attempting to build Charles Petzold's sample code for DLLs. The code in particular is the EdrLib code. The problem I am having is that a DLL is built but does not work. It is not even close to what appears to be the proper size, i.e. my debug build is 44K while the debug build supplied with Petzold's code is 197K. On further examination using the test harness I built using Petzold's code, EdrTest, it works with Petzold's dll but not with mine. The working environment is Visual Studio Professional 2005 on a Win2K box with the Windows 2003 Server SDK. Am I missing something critical. The project was set up as a Win32 projec, DLL, empty project. Thanks in advance for your assistance. The problem has been found. In the c ...Show All
Windows Live Developer Forums MSN API -- WSDL broken, the service does not work properly.
Hi there. It seems that an upgrade (or something) to the MSN Search API broke its functionality. 1) The WSDL file at: http://soap.search.msn.com/webservices.asmx wsdl contains a broken reference to type "xsd:s" (should be xsd:string). 2) The API does not return results properly. A search for "dawid weiss" returns 8600 documents. Now, extend it to "dawid weiss university" and you get zero results. The word of course exists on many of these pages... interestingly, live search returns over 2000 results for the mentioned query. I can provide more failing examples -- try "university weiss", 314,812 results in live search and zero (!) through the API. Oh, by the way, is there any information about upgrad ...Show All
Software Development for Windows Vista bitmap
I want to include the bitmap(*.bmp) file in XPS. However, there is no corresponding Type in ContentType. Is it impossible Correct, you cannot include .bmp files in XPS Documents. PNG, JPEG, TIFF, and Windows Media Photo files are supported. I'd recommend converting your .bmp file to a .png file. -Jesse McGatha XPS Program Manager ...Show All
