Gravy's Q&A profile
Windows Forms UserControl with ComboBox
My aplication needs a usercontrol consisting a combobox. So I have to provide the commonly used propertiesfor the comboBox for this usercontrol as well. I build this UserControl DLL and using in some other Windows Forms, but then some problems arises. I have few problems in that: 1. There is a property called "FormatString", I have attached the editor "FormatStringEditor" also with this while declaring this property. But when I try to use this property in the "property-pane" I am getting an error Object Reference not set to an instance of an object" 2. I have also exposed the property for "Text" and "Items" and attached these properties to the ComboBox corresponding prop ...Show All
Gadgets How to send a message to a running application?
Hi there, I'd like to start developing with those thingys and would like to know how I can send a message to an open application and print it's response (using sorta API without COM). Is there any way throughout a gadget Greets, Arne You can run an application with parameters, if that's any help. "SendMessage" can't be done directly, without creating your own EXE/DLL to do it. How is your application expecting the message to be sent And, how does it respond ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Looking for components
Hello all ^^ I keep hearing of sweet components popping up all over the net, yet, I can't seem to find any >.< If someone could point me in the direction of some, like a framerate one, etc., that would be fan-tas-tic. Thanks! =) I have finished a framerate component and will soon be publishing it, along with a short tutorial about how I made it. I just need to clean it up and when then publish. Watch my blog for information, also note that I have some more that will also be published. ...Show All
.NET Development How to use WSDL.exe and to consume a web service
I am learning how to consume a web service. I have created 10 web services. And I have not been able to consume one. Many web sites show one how to create web services ... but they are not clear on how to consume them. I do not understand what is needed and not. What steps does the 'Web References' replace. I am using Visual Studio. Do I need to use WSDL.exe. And why. And where. And how. I have read http://msdn2.microsoft.com/en-us/library/7h3ystb6(VS.80).aspx And did not understand the basics! Also I have seen two ways to run it. Which is correct wsdl.exe /l:CS /n:MathService /out:MathService.cs MathService.wsdl wsdl http://localhost:3333/WebSite7/WebService.asmx WSDL Also I get the following error msg on one of the tutorials in MSD ...Show All
Software Development for Windows Vista The 64-bit Intel version of App Verifier 3.3 fails to install on our 64-bit Intel machine
The 64-bit Intel version of App Verifier 3.3 fails to install on our 64-bit Intel machine. When we use the AMD version of the installer, it does not generate logs when we run our MSI installer package. The installed application runs correctly in Test Case 4 on the 64-bit machine. Hello When you use Application Verifier, the version that you use depends on the bit verion of the application that you are testing. For a 32-bit application being tested on Windows 64-bit, you would still need to use the 32-bit Application Verifier. The ia64 version of Application verifier is only for Itanium systems. For 64-bit applications on and Intel EMT64 system, use the AMD64 version of Application verifier. Thank You Thomas ...Show All
SharePoint Products and Technologies Forms based authentication & MySite
Hi we have configured our site with dual authentication providers. #1 http://servername.local Authenication with Active Directory (intranet) #2 http://www.servername.local Authentication Forms Based (internet) When i create a user and i login through #1 i see a MySite When create a user and i login through #2 i don't see a MySite Why and Is it possible for anonymous users to login on #2 and a MySite will be created I don't think i got the whole picture , yet merci beaucoup ,Joost Hi Joost, It seems like more people have the same problem, maybe the following article can help you out: http://msmvps.com/blogs/obts/archive/2006/09/27/143837.aspx About the anonymous users, because they do not have a profile ...Show All
Software Development for Windows Vista No Disk 5 on MSDN Vista ISO image disk - disk 3707
I have just tried to install Vista Ultimate onto my laptop using my Windows Vista Disk from MSDN. I burnt 4 disk's from the iso image dvd(only 4 available on the dvd) onto cd. After the installation copied 98% of the files from the 4 disks it then asked me to insert the 5th disk! I was a bit flabbergasted. Has anyone heard of this Thanks Paul, I've since read that MSDN acknowledged the error with the 5th iso missing and will re-ship with the March updates. ...Show All
Visual C# "Private" Clipboard ?
It may sound bizarre but I have a serious need to create my own "private" clipboard for storing very simple basic strings with the stipulation that I am able to copy my strings to it programmatically and could use the clipboard menu to paste the code anywhere at a cursor. I would appreciate if someone could suggest a conceptual way to do it if it is possible. I also want this clipboard to be completely independent from MS Windows clipboard. I know there are commercial applications with clipboards of expanded options, so it should be possible in theory. Thanks. How do you want to have a private clipboard but paste from it like a public clipboard This is not posible because all application the have clipboard support ...Show All
Internet Explorer Development Getting information about an IHTMLElement
Hey, So this should be easy, but for some reason I can't get it working. I have a pointer to an IHTMLElement which is an anchor. I want to get out the href and if theres an img in there, the src of the image and its rect on the screen (x,y, length, width). eg, if the html is <a href="blah"><img src="haha"></a>, i want "blah" and "haha" I got the href by calling getAttribute, which was easy enough. I can't figure out how to get the src of an img if its there. Heres what I've tried so far: 1) innerHTML and innerText - there methods give me a BSTR null, even when there is an img tag between the <a> and </a>. 2) get_children() - I called get_children, then ca ...Show All
Smart Device Development Exception from System.DLL when calling a webservice
Hi all; I am working on a database synchronization application and have a web service that my CF 2.0 application calls repeatedly to download or upload data as required to keep my field devices updated. I cannot use replication with SQLCE due to some data security and retention requirements for uploads - so I had to implement a web service to do the data transfer and other work for the devices. I create one instance of my webservice class, then call the methods on the class to send or receive data from the webservice. The issue is, during each call, system.dll throws a System.URIFormatException, seems to catch it (I don't get the exception in my code) and then goes on transferring the data without error. I know that the exception ...Show All
SQL Server SQL Agent Database Mail
Hello ! I want to send a Email if my Job fails.I activated the Database Mail and send a TestMail to my Account. This works ! I configured the SQL Agent to my Standard Database Mail account with the EMail Destination. But in The SQL Agent Job under the Notification The Email Combox is empty. I can not select my create Database Mail Account ! "This is the german Version of the SQL Server 2005!" Anyone knows why I can not select the Database Mail Account Thanks Pseudo ...Show All
Smart Device Development InternetReadFile errors
Hi, I've got my internet connection working, and everything sends fine. No I wanted to read back the data from the site I connect to, but I keep getting an ERROR_INVALID_PARAMETER . I've tried some different combinations of parameters for the InternetReadFile function, but to no avail. Maybe it is something else I am doing wrong My code so far is: DWORD dwContext = 1; char errorMsg[100]; hWaitForHandleCreation = CreateEvent(NULL, TRUE, TRUE, NULL); hWaitForCompletedRequest = CreateEvent(NULL, TRUE, TRUE, NULL); ResetEvent(hWaitForHandleCreation); ResetEvent(hWaitForCompletedRequest); // Open the internet connection and send the URL http = InternetOpen(L "CeHttp" , INTERNET_OPEN_TYPE_DIRE ...Show All
Software Development for Windows Vista In Vista a shared file lock up Applications
When I share a folder in Windows Vista and open a MS word document in the shared folder on the host system and then attempt to open the same document from another Windows Visa system MS Word locks up until I close the document on the host system. I checked my sharing settings and they all seem to be correct. My Access Jet Database program has the same problem. This is my real problem. Does anybody know what could be the problem We are running a program called Atrex and its doing the same thing, when the database access the shared folder the system locks up until you close the program running on another system. We have tried and tried with no sucess. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Heightmap Collision testing
This question has been mocking me all day. I know it's doable, I have even used such a function somewhere long ago, and I have even found quotes of people saying "the calculation is easy and quick," however, I cannot find an example of heightmap collision testing. In other words, I want to be able to type MyLandscape.GetHeight(x,z) and it'll return the height (y) at that point. Now, this is not a simple, find the vertex at (x,z), and return the array value. There is distance between each vertex so, (x,z) wouldn't always be a vertex location. If I recall my calculus from ages ago, I think I remember there being a way to do this, but I don't remember. Answers or links would be deeply appreciated. ...Show All
SQL Server Help with XQuery
I am trying to query an XML Datatype column in SQL Server, but getting no data back, and I suspect the XQuery but don't know what I am doing wrong: SELECT nref.value('AdvTxnID[1]', 'integer') AdvTxnID, nref.value('SvcSysCode[1]', 'varchar(2)') SvcSysCode FROM myData CROSS APPLY [xmldata].nodes('/AdvanceTxnDoc/AdvanceTxn') AS R(nref) <AdvanceTxnDoc xmlns="http://GMAC.RFC.COM/RCG/XML/Schema/ALM.AdvanceTxnDoc"> <AdvanceTxn> <AdvTxnID>4125281</AdvTxnID> <SvcSysCode>MS</SvcSysCode> <LoanID>8484664</LoanID> <AdvTypeCode>P&I</AdvTypeCode> <AdvEffDate>2005-08-25T00:00:00</AdvEffDate> <AdvTxn ...Show All
