Harshal Bhakta's Q&A profile
Visual FoxPro how do i change the desktop background?
Good day to all experts.... how could i change the desktop background programatically i would like that if a user change my desktop background...at the time I open my VFP application it automatically search my desired background and changed it. Thank you >why not incorporate this in our program . if we can ... Just because technically you (or VFP) can does not mean you should. As Andy told you, users do not welcome apps that change our user environment, themes, color sets, screen resolution or whatever else we set as personal Windows dektop environment. That's a choice for the user to make, not the developer of an app. I would not suffer long a program that changes my environment. It would be unistalled ...Show All
Smart Device Development Problem to install CF 1.0 automatically.
Hi everybody, I need to get some help with CF 1.0 automatic installation on device. I have bat file with the script: ECHO Installing COMPACT FRAMEWORK... \Windows\wceload /noaskdest /delete 0 /noui \TEMP\netcf.all.wce4.ARMV4.cab When we cold boot device, installation begin,but it is asking for overwriting framework dll files (Yes, Yes to all and so on). I need to install framework without any questions. Is there some way to do that Thanks for help, Iouri. None I'm aware off – WCELOAD produces these messages and it seems they can not be suppressed. You might try /silent switch but it probably won't work. Possible solution would be to write an application (native) to detect the ...Show All
Visual Studio Tools for Office CASPOL / Security complaint
No excuses. I've heard all about how CAS is a fact of life, but there's no reason -- none whatsoever -- that this system can't generate meaningful messages when trapping loader exceptions. The least MSFT could do would be to tell us which assembly has inadequate evidence or permissions. There's no reason you can't tell us where the problem lies when you refuse to run our code over what amounts to a mere technicality. For the logging part - it is there - just not enabled by default. See this link : Troubleshooting Add-ins Using a Log File and Error Messages Visual Studio Tools for Office can write all errors that occur during startup to a log file or display each error in a message box. ...Show All
Visual Studio 2008 (Pre-release) Ho do i get a reference to underlying dataobjects from a ListBox
Hi, i am using a databound listbox with datatemplates for the individual items. The questioni is how do i get a referece to the actual corresponding dataobject when the user select an item thanks boris Thanks for you reply. Yes i tried that an were able to extract the selected Listbox Item in the OnSelectionChanged Event and cast it to my dataobject. Cool. But now i run into some eventhandling question. In the actual case the datatemplate defines a Button what when is clicked should initiate some action passing the dataobject. So the question is where or which event to catch to accomplish that (Bubbling / Tunneling Events ) ...Show All
SQL Server Calling XML web service from a reporting services report (RDL)
Hi, I wanted to display data returned by xml webservice in a sql reporting service report(RDL). How I can implement the same, Please let me know the steps. Thanks, Anees Check this: http://msdn.microsoft.com/library/en-us/dnsql90/html/RepServXMLDS.asp ...Show All
Visual Studio Invalid Package Load Key
One of our customers is having a problem loading our Visual Studio package. The error logged in the ActivityLog.xml file is as follows: <entry> <record>41</record> <time>2006/07/19 12:39:30.862</time> <type>Warning</type> <source>Microsoft Visual Studio Appid Stub</source> <description>CheckPackageSignature failed; invalid Package Load Key</description> <guid>{FC381043-7055-495F-B40A-0AA08F20D402}</guid> </entry> <entry> <record>42</record> <time>2006/07/19 12:39:30.862</time> <type>Warning</type> <source>Microsoft Visual Studio Appid Stub</source> <description>CheckPacka ...Show All
Windows Forms TEST CASE 1. how to embed manifest that define its execution level to the execution file
Do you want this in a C# program, C++ This isn't the best group for this question - this is not a ClickOnce or Setup project question. Try a Visual Studio general forum. ...Show All
SQL Server sql update query question
Hello, I have a table t1 that has the following fields: T1 ** ID WELL_ID SAND_ID 1 1 1 2 4 3 3 6 8 4 7 9 T2 ** ID WELL_ID SAND_ID ... 1 1 2 4 3 6 4 7 Thanks in advance, Marco set nocount on declare @t1 table (id int, well_id int, sand_id int) declare @t2 table (id int, well_id int, sand_id int) insert into @t1 values (1,1,1) insert into @t1 values (2,4,3) insert into @t1 values (3,6,8) insert into @t1 values (4,7,9) insert into @t2 (id, well_id) select id, well_id from @t1 --select * from @t1 --select * from @t2 update @t2 set sand_id = b.sand_id from @t2 a inner join @t1 b on a.id = b.id and a.well_id = b.well_id select * from @t2 -- ------ SAMPLE OUTPUT: ----- ...Show All
SQL Server Data Migration Oracle 7.16 to SQL Server 2000
Hi, I have been asked to look at optimising a Data Migration Strategy for one of our clients. I am quite new to Data Migration (I'm actually a system designer!). The migration is from a legacy Oracle 7.16 Db to a SQL Server 2000 environment. The legacy Db has some large tables - 30 Million+ rows Table/column Mapping is 1:1 At present we are using DTS to import into the SQL environment. My question is: Is there any way to leverage the Oracle 7.16 export to speed up the migration process Any advice would be appreciated. Many thanks Mike this forum is for sql server 2005 integration services...not sql server 2000 data transformation services. i suggest that you post your questi ...Show All
.NET Development Using OpenFileDialog to open different file types with the same extension?
I want to try to use an OpenFileDialog in C# to open different file types, like a typical import command in most programs. I realize that I have to use the dlg.Filter = "..." to add the different file types, but how can I differentiate between these file types when they are selected The problem that I am having, is that a couple file types have the same extension For example, Company A data file (*.dat) | Company B data file (*.dat) and I don't see any easy way to pass the selected Filter property so that each file is read correctly. I was surprised, but this actually worked: private void button1_Click(object sender, EventArgs e) { openFileDialog1.Filter = "Company A (*.dat ...Show All
Game Technologies: DirectX, XNA, XACT, etc. What do I do false???????????
Hi. I postet already my Problem but I could not get any reply, so I thought maybe I should explain it a better way. In my Application (VC# .NET 2003), I load a mesh from a X-File. It is just simple Triagle between ((-5,0,0),(5,0,0),(0,-5,0)). I define die Verticescoordinates for an other Triangle in my Application like: coordxy+=0.04f; //Startvalue=0 coordz-=0.04f; //Startvalue=0 vertices2 = new CustomVertex.TransformedColored[3]; vertices2[0].Position = new Vector4(-coordxy,-coordxy , coordz,1); vertices2[0].Color = Color.Red.ToArgb(); vertices2[1].Position = new Vector4(coordxy, -coordxy,coordz ,1); vertices2[1].Color = Color.Green.ToArgb(); vertices2[2].Position = new Ve ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Managed 3D API for CAD-like software
Now that XNA is out the door and Managed DirectX is more or less a discontinued product what are you telling people that need a managed 3D API for software that is not gaming related We started to develop a CAD-like software package for house automation and used Managed DirectX. Now it looks like MDX will not see any updates in future (DirectX 10 ). We wouldn't want count on an API that is bound to die (or to become outdated). But XNA Framework on the other hand doesn't seem to be the right API for the job either since it seems to be too much tailored for gaming. What is Microsoft's message here Managed 3D graphics is only reasonable in casual gaming area (XNA) or simple Datavisualization (WPF) For everthing outside that, better stay u ...Show All
SQL Server IDENTITY_INSERT On/Off in sql compact
Hi, Im working in a project that uses sql server compact. While migrating some data from another database I needed to "Turn off" the identity insert : SET IDENTITY_INSERT <tablename> OFF and set it back to "ON" after the migration was completed. Unfortunately SQL Server Compact is giving me the following error: There was an error parsing the query. [ Token line number = 1,Token line offset = 5,Token in error = @@IDENTITY_INSERT ] Im i doing something wrong or this instruction is not supported by the Compact edition. Does anybody knows another way to do this Thank you Alexander75 The IDENTITY_INSERT concept is not supported by SQL Compact ...Show All
Audio and Video Development DSP plugin - works fine with MPG, but not with PMP
I'm trying to create a DSP plugin that works in WMP 11 with both non-WMV and WMV video types. I got the sample DSP plugin from the Windows SDK 6.0, compiled it and it works fine for MPG videos. When I try it with a WMV video (which causes an instance of mfpmp.exe to be launched, and the DSP plugin then runs in that), I always get the error from WMP that "Windows Media Player encountered a problem while playing the file. For additional assistance, click Web Help." This happens with my own plugin, which works fine on WMP 10, as well as the sample plugin from the SDK. I have followed all the steps described on MSDN to make my plugin WMP-11 friendly, except for the proxy-stub DLL. However, the SDK plugin _does_ have the proxy-stub DL ...Show All
SQL Server Calling .Net assemblies (AS SProcs) from Calculated Measure MDX
Hi, Okay I am desperately stuck again. This topic gives a lot of search results but none seem to help me. I have a .Net assembly (class library) that I have registered in Analysis Server 2005. I can now see it in the Assemblies Folder of SSAS. I want to call a method in this assembly in the MDX expression of a calculated measure in my cube! Is this possible I checked this article from microsoft: http://msdn2.microsoft.com/en-us/library/ms176113.aspx but it does not work. It gives me an error saying that the function does not exists. Please do guide me or give me steps to do the same. If this is not possible how else can i compliement .NET functions in my calculted measure's MDX expression. Regards ...Show All
