mabxsi's Q&A profile
Gadgets Can't get xml back from Amazon Web Service?
I can put the feed url in the browser and all is well, but I can't seem to get a response using the code below function GetFeed() { var r = Web.Network.createRequest( Web.Network.Type.XML, m_feedUrl, {proxy:"generic", numItems:m_numItems}, OnFeedReceived); r.execute(); } Is the m_feedUrl just too long maybe http://webservices.amazon.com/onca/xml Service=AWSECommerceService&Version=2006-06-07&AWSAccessKeyId=1CE7SK4ZPTNDQZCWBP82&Operation=ListLookup&ListType=WishList&ListId=241KH7V8OZ7EQ&Sort=DateAdded&ResponseGroup=ListItems Any help would be greatly appreciated! it's weird because if I use this xpath query at the xpath testbed it returns 6 nodes, ...Show All
Smart Device Development How to export and register dll in the emulator
I have three dlls. I have a project which call some functions of these through [ DllImport ( "my.dll" )] . When I run my program it doesn't find this dll on the emulator so through exceptions. I want's to export and register dll in the emulator. How Can I do that When I add refrence to my dll I always get this error --------------------------- Microsoft Visual Studio --------------------------- A reference to 'MyProj.dll' could not be added. --------------------------- OK Help --------------------------- This dll is in VC++ ...Show All
Smart Device Development dpms shutdown
sometimes not every time i get online my computer will for no reason shutdown completely.the screen goes black with a blue box that says dpms shutdown mode.then it shut down completely.i have a hp with windows xp.i have checked my bios and there is nothing there about it,and i have checked my power management and hibernate is off nothing is set to shut cp down. please can somebody tell me what is doing this thank you! ...Show All
Visual C++ fatal error LNK1104
i tried changing the directory list to include my project and debug folders. Blackjack fatal error LNK1104: cannot open file '.\debug\app.res' i'm using visual studios C++ 2003. What do i need to do. Thanks. Make sure you have the app.res on your system. For further VC 2003 issues, please use the newsgroups at http://msdn.microsoft.com.newsgroups as these forums are specific for VC2005. Thanks, Ayman Shoukry VC++ Team ...Show All
Windows Live Developer Forums Humongous Javascript Api File.
Hi, I am using v4 of the virtual earth control. But each time I open the page to view the map, it takes an age to load. I've used fiddler to detect the file sizes, and it seems the main file with the core script in it is 436,179 bytes, which seems huge. http://dev.virtualearth.net/mapcontrol/v4/mapcontrol.js -- 168 http://maps.live.com/veapi.ashx v=1.3.1115150037.31 -- 436,179 Also the files are set to not cache, which means the files have to be downloaded each time! I checked the files for maps.local.live.com and it does not download one big file, but instead multiple small files. Ive summed the bytes for the whole page, which comes to about 582,228, but the actual mapping components only seem to add up to ~178,000 bytes, which ...Show All
SQL Server Unable to set variables from script task
Hi, I have a SSIS package that copies a file from one location and puts in in another with a datetime suffix on the end. This works fine in the script task. I've then added some additional code to the script task to set a variable with this new file location. The variable value gets set in the code, as I have a messagebox displaying the value, but doesn't get set to pass to the next step. Public Sub Main() Dim Filename As String Dim FileLocation As String Filename = CStr (Dts.Variables( "AgencySpendFileNameWithDateTime" ).Value) FileLocation = CStr (Dts.Variables( "FileLocation" ).Value) FileIO.FileSystem.CopyFile(FileLocation + "AgencySpend.txt" , FileLocation + ...Show All
Visual Studio Express Editions Audio Volume
Hi, I have another question. Is it possible to display audio input and/or out put levels as seperate channels (Left and Right) I have two of the the VU audiometer ( http://www.codeproject.com/useritems/KEMA_Code.asp ) on my form. one named 'Left' and the other 'Right'. Any help would be great. Nope, It's C#, though it uses quite a bit of DLL calls, so it might look complicated at a first glance. Though, the class basically gives you two static methods. SetVolume which takes an int as its parameter, and GetVolume, which returns an int. So basically you should be able to copy and paste all of the code, and then just use those two methods (aslong as you just want to get or set the volume). I should add that I haven't ...Show All
Windows Forms Dynamically changing properties of menuStrip
I have a menuStrip on my form which its structure may be described as below: menuStripMainItem1 |->menuStripMainItem1SubItem1 |->menuStripMainItem1SubItem2 |->menuStripMainItem1SubItem3 menuStripMainItem2 |->menuStripMainItem2SubItem1 |->menuStripMainItem2SubItem2 |->menuStripMainItem2SubItem3 menuStripMainItem3 |->menuStripMainItem3SubItem1 |->menuStripMainItem3SubItem2 |->menuStripMainItem3SubItem3 I (again ) would like to access and change the properties of SubItems under each and all Ma nItems. Is there an easy way to address the subite ...Show All
Game Technologies: DirectX, XNA, XACT, etc. .X importer for XNA
http://www.myjavaserver.com/~jonathanf/stairs.x This .x file displays correctly in the DXviewer as a staircase. However, when loaded into xna it is merely a cube. What gives The staircase was made using XSI Mod Tool and exported using the default .x exporter. ~Jonathan ok, so i got the importer into my project. however, now it gives a TextureCoordinate0 not found error. I can't figure out how to get a texture onto my simple scaled cube that works though... could someone who has used XSI Mod Tool or XSI help me ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Rotate and translate
It must be late or something because I can't get something pretty trivial to work. I'm getting input from the XBox controller...specifically the right joystick. Any Y movement is supposed to make my model move along the Z axis. Any X movement causes the model to rotate around the Y axis. Simple enough. When I move the joystick directly forward the model moves...if I move the joystick directly to the side the model rotates. When I move the joystick diagonally thus getting input from both the X and the Y axis the model does not both translate and rotate. It doesn't do much of anything. Heres my code.... if (state.ThumbSticks.Right.Y != 0) { Vector3 newPosition = new Vector3 (); newPosition.X = hm.Model.Bones[ " ...Show All
Windows Forms Invoking other msi (nested install)
I want to install other msi silently in the custom action of setup and deployment project. But i am getting the following error 1618 Another installation is already in progress. Complete that installation before proceeding with this install. Is there any way (hack/trick) to install other msi in the setup. Please help me, Thanks in advance I just want to know whether Nested install is feasible in setup and deployment project of Visual studio 2005 As like InstallShield is there any way to achieve Nested Install Please reply to this thread ...Show All
Visual Studio Express Editions Matrix free function problem
Hi everyone, My program creates a matrix with the specified size. And it also some additional function that can free the matrix. However, when I call the below main function, my free function does not work properly so how can I fix it For example the outpt that I gave when I ran the below application; Sorry,we can not perform the add operation since the sizes of matrices are different 1 2 3 4 2 5 6 7 3 6 8 9 4 7 9 10 0134526920134526944134526968 134526920 5 6 7 134526944 6 8 9 134526968 7 9 10 so how can I correct this 0134526920134526944134526968 134526920 5 6 7 134526944 6 8 9 134526968 7 9 10 The codes for .cpp file; #include ...Show All
SQL Server Missing Lineage ID - Data Viewers
Does anyone else get Missing Lineage IDs on a majority of columns in the data viewers I *think* that this started when I installed SP1, but I cannot be sure. Here is the scenario: I have a package. I set up a data viewer right after the 1st OLE DB Source component. All but 2 columns say Missing Lineage ID. Any help is appreciated! BobP ...Show All
SQL Server Instead Of Trgger Marked Not For Replication Kills After Trigger
Kill may be overdramatic, but... I am te sting a merge publication with a push subscription. The publication contains a single table. That table has an INSTEAD OF UPDATE trigger marked NOT FOR REPLICATION and an AFTER trigger that needs to go off during replication. During Synchronization neither trigger goes off. If I drop the instead of trigger the after trigger will go off. What is going on Thanks, To set "Not for Replication" for an article, you should set through schema options. Please refer to BOL ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/rpldata9/html/9e230b92-162f-429b-afbb-6f32a2111c73.htm Section: To specify the NOT FOR REPLICATION option You can call sp_changemergear ...Show All
Windows Forms DragDrop to MonthCalendar control
I'm writing a little scheduling application. Basically, I want to be able to drag drop items on the monthCalendar control. This works just fine. But I want to be able to drop them on a specific day on the calendar. I can tell the X,Y position from the DragOver event, but how do I translate that into the actual day they are dropping it on Or is there a better way MonthCalendar has the HitTest() method to find out where the mouse is located. It is however rather crude, you can just find out what area of the calendar you're on, not what date. So, I thought of a trick: fool the control into believing that the user clicked with the mouse. Then you can simply look at the SelectionStart property to find the date. Here's a simple Windows F ...Show All
