zion99's Q&A profile
Software Development for Windows Vista Can't recognize a user control
Hi, I have a user control devloped to dispaly the information in a calender fashion. The funcrion of this control is to draw the date and time slider with the graph along with it. Bu this control is not recognizable with one of our tool. Can any one please let mw know what could go wrong if any control is not accessible. Please give me some hint. Thanks and regards Mohan Babu D If you want to make the control accessible through UI Automation, you have to write a provider for it. See the documentation and samples in the SDK, or refer to the documentation starting at http://msdn2.microsoft.com/en-us/library/ms747229.aspx . ...Show All
SQL Server Update or insert into SQL table from excel source
Hi all, I've had little success gooling/searching for this (so far). Given a simple spreadsheet: StoreNumber StoreName 1 UPDStoreName_1 2 UPDStoreName_2 3 UPDStoreName_3 4 NEWStoreName_4 I want to have an SSIS package that will update a table: mystores (storenumber int, storename nvarchar(255)) StoreNumber StoreName 1 StoreName_1 2 StoreName_2 3 StoreName_3 5 StoreName_5 .. what I need to do is insert the new, update the existing and leave the remaining unchanged. i.e. : StoreNumber StoreName 1 UPDStoreName_1 2 UPDStoreName_2 3 UPDStoreName_3 4 N ...Show All
Software Development for Windows Vista directshow source filter for ip camera
hello, i'm hoping that someone will be able to help me. i would like to use windows media encoder to stream video from an ip camera or network camera. but since ip cameras doesn't connect directly to a computer, i'm not able to see the device in WME. i've seen 1 example of someone that wrote a custom source filter for Axis brand ip camera, i'm using another brand called vivotek. so, can someone please let me know how difficult it is to write a source filter and if it's possible to write this code for all cameras or it will depend on what the ip camera supports. any help with this is greatly appreciated. ffdshow has an mpeg 4 decoder that will work with the axis camera output, based on the ffmpeg li ...Show All
Smart Device Development Unable to create cab files in visual studio 2005
Hie, i think i am facing the same problem, so i just reply here instead of starting a new thread. if this isn't the same problem, i will create a new thread later. i followed the how to article on using smart device cab project to create the cab files. i successfully created the cab file and when i copy it to the device via activesync, it install successfully. but when i package it into a installer and use ce application manager to install, it say this is an invalid setup file. so i open the cab file and compare it with the sql ce cab file. and guess what, it is different. In the cab file that i create, it doesn't have a *.999 file, but all the other cab files like sql ce, sql ce client, and compact framework have. so, what am i d ...Show All
Visual Studio Tools for Office how to create a new Tools.Word.Document object?
Hi Cindy, Thank you for your repply. There is another question: If I already have a ThisDocument class in a project, can I get its instance by passing a IRuntimeServiceProvider object to its constructor in another project If it is possible, what the IRuntimeServiceProvider is How can I get it I wrote a new class which implemented the interface, and return null in the GetService() method, but it was no use... Thanks, -Noah Hi, Creating code-behind objects such as Microsoft.Office.Tools.Word.Document directly from code isn't supported. Moreover, these types aren't remotable so you could not pass instances between projects since they would be running in seperate AppDomains. If you are try ...Show All
Visual C++ Reinstalling VC++ 2005 - New machine
Hi, This week, I acquired a new computer. Before I erase former computer, I installed and configured my development environment. No problems except when I tried to install and configure Visual Studio 2005. Everything went OK except the fact that after successfully compiling a sample C++ application, I cannot run it... I even tried to run a few C++ applications (.exe) I made in the past (out of VC++ 2005 environment on former computer), directly from Windows explorer, and I cannot run them either... Seems something is missing... I compared programs installed between my former machine and my new machine and the only difference I could see  ...Show All
Visual Studio Express Editions directx transparency not working
In an effort to try learning how to make side-scroller games I have begun learning directx 9 from http://www.euclideanspace.com/software/games/twod/dx9vb/index.htm I only had to change a few things from the tutorial to get it working. I have a default form with borderstyle set to none, a 4 framed picture of a man walking, and a 1600 by 600 background image. My only problem is that the 255,0,255 background of the man wont become transparent like it is supposed to. Here is my code: I'd suggest posting in the directx forums http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=106&SiteID=1 As the question appears to be a directx usage issue rather than a VB Express one. ...Show All
Visual C++ list boxes and data sources...
Here is what i am trying to do: listBox1 displays information from a database. when I click on an item in listBox1, listBox2 displays information from another table. However, i try putting this code in: private : System::Void listBox1_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e) { if (listBox1->SelectedIndex.Equals( "Elves" )) { listBox2->DataSource = "gamestaBindingSource2" ; } else { listBox2->DataSource = "gamestaBindingSource3" ; } } The program runs, but when you get to this section, the following error appears: "An unhandled exception of type 'System.ArgumentException' occurred in System.Windows.Forms.dll Additional ...Show All
Visual Basic Read and Set File/Folder Permissions
I am writing an application that copies files from one directory to another that skips over errors and allows a person to copy multiple directories at once. Currently my application skips over the "Access is Denied" files and folders that it does not have permission to read/write, etc. What I would like to accomplish is this: 1. List the current owner of the folder 2. Determine if the current user has full access to the folder 3. Change the owner of a folder to the current user. 4. Give the current user full access to the directory and all sub-directories and files I am hoping that there is a method or group of methods under the System.Secuity that can accomplish these tasks as I would like to avoid API calls if po ...Show All
Visual Studio Express Editions error c2065: understand error
hello people of visual c++. i have this code: #include "stdafx.h" #using <mscorlib.dll> #using <System.xml.dll> using namespace System; using namespace System::Xml; int _tmain( int argc, char * argv[]) { //Check for required arguments if (argc < 2) { Console::WriteLine(S "Usage: xml-diasemanahora path" ); return -1; } String* path = new String(argv[1]); try { //Create a reader XmlTextReader* rdr = new XmlTextReader(path); } catch (Exception* pe) { Console::WriteLine(pe->ToString()); } // Read nodes /* while (rdr->Read()) { // do something with the data } */ ...Show All
Software Development for Windows Vista Force workflow to complete
I've 3 activities in a sequential workflow, and I've added some coding in completed event. In the 2nd acticity, I want to force the workflow to complete based on some conditions, so it can skip 3rd activity and jump to the end of the workflow, and run the coding in completed event. Is it possible to do this ! Your original post sounded like you want the workflow to complete, not terminate. If you use a TerminateActivity or throw an exception, your workflow will terminate. You'll get the WorkflowTerminated event instead of WorkflowCompleted. Using dynamic updates (WorkflowChanges) is extremely inefficient. Dynamic updates are not recommended for implementing normal business logic. It's only meant for ha ...Show All
Visual Studio 2008 (Pre-release) Virtualizing
I'd like to use the VirtualizedStackPanel to display almost 3000 rows of data. Please see code below. My hope was that since the only controls created were the first few rows that show on the screen the virtualizing panel would return quickly after the 3000 rows were bound to it. In the code below, it does not seem to matter if I set my ListView's VirtualizingStackPanel.IsVirtualizing to True or False, it still takes about 15 seconds to bind the data. This is actually blazing fast compared to WinForms which could never even do this, but I wonder if vitualizing is really working, because it does not seem to be affecting the time it takes to display the control after binding the data. Are my assumptions about the effects of virtualizing i ...Show All
Smart Device Development System.Data.SqlServerCe.dll does not exist
Hi, When i go to Projecto => Add reference i can’t find the System.Data.SqlServerce.dll. Who installs this VStudio or SQLServer I went to C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE and added the dll but the following error occurs: The reference to System.Data.SqlServerCE.dll could not be added. Any ideas SP I got it. I had to delete the reference that was previously added. Now i have a problem with SqlClient namespace. I believe this is provided by system.data.dll but i already have a reference to it but the namespace still doesn’t exist. Any ideas SP ...Show All
Visual Studio Express Editions Unable to open new project
Hello, I'm new with Visual C++ express. I install it from the net and try to use it... The first thing I try to do is open an project. In the first window, I choose "Application console Win32" and give a name "bjr". I validate by the OK button. I receive a second window : "Bienvenue dans l'assistant Application Win32". I think that this window is uncomplete : no parameters for the project,... I'm unable to do anything on this window : no action on the "Terminer" button, "Annuler" button, "Parametre de l'application" zone,... All that I can do is abort the window. Can you help me (I install Visual C++ on a drive that is not the windows one. Is it a mistake ) Thank you hello ...Show All
SharePoint Products and Technologies Urgent!!! Dropdown list load event handler not firing in a connected web part
This is driving me nuts. I have a web part A which provides a person code to web part B to show the schedule of the person. Both web parts are using drop down lists. Connection between two web parts and sending the person code is done ,np in that. If I move the code inside of the drpDownSchedule_Load to RenderContents event everything works fine except the fact when I choose something from the drop down list in web part B and page gets post back, I lose the view state (which I think is another issue). so I put everything in the load event with the hope to check for the post back myself,but now dropdown list in web part B is showing nothing. I guess there is a timing issue from when I invoke the person code from w ...Show All
