Julien Roger's Q&A profile
SQL Server Microsoft OLE DB Provider for Visual FoxPro 9.0
Im quite interested to see if any one is using Microsoft OLE DB Provider for Visual FoxPro 9.0 in an SSIS package. Is it possible to use this for free table directory like you can with the ODBC driver. thanks kindly My basic proccess is as follows: The source foxpro database has hundreds of dbf files ---the SSIS procress is as follows 1: Copy only required dbf files and/or matching .fpt files over to local drive on SSIS box(we only need 10 files) use MS Visual Foxpro ODBC driver (free table option) and set up a system DSN--dataflow tab---datareader source--and away you go Hi! Yes, you can use the free table option with the VFP OLE DB data provider. A typical connection string for ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Drawing Bitmaps to IDirect3dSurface9
Hello, first of all i want to render a video stream to a IDirect3dSurface9 (in the beginning on the primary display device later on a secondary monitor) so at first i'm trying to draw a simple bitmap on the surface... i've created IDirect3d, IDirect3DDevice9 and IDirect3dSurface9 objects... and i've got a window that i've registered and created. It doesn't matter if the bitmap/video is in the window or not. better would be if it were in the window. how can i do it i've tried it this way: pPrimary->BeginScene(); pSurface1->GetDC(&hdc); hdcMem = CreateCompatibleDC(hdc); old = (HBITMAP)SelectObject(hdcMem, hBitmap); GetObject(hBitmap, sizeof(BITMAP), &bm); BOOL tmp = BitBlt(hdc, 0, 0, bm.bmWidth, bm.bmHeight, ...Show All
Visual C# Error: "The path is not of a legal form" in C#
Hello.I receive the following error Error: "The path is not of a legal form" in C# in the code string location = "List.txt" ; // Read lines StreamReader reader = new StreamReader (location); string [] file_lines = (reader.ReadToEnd()).Split( '\n' ); // Add in Lista foreach ( string one_line in file_lines) { string file_location = one_line.TrimEnd(); System.IO. FileInfo info_item = new FileInfo (file_location); if (info_item.Extension == ".mp3" ) { ListViewItem List_Item = new ListViewItem (info_item.Name, 0); List_Item.SubItems.Add( "XX:XX" ); List_Item.SubItems.Add( "Necunoscut" ); List_Item. ...Show All
Windows Forms Creating a custom class using Form Components
Newbie here needs help. I have a Form with a tabControl. Tabs are added onto the control when a user clicks on a tree node. Users can also close each tab, if not needed. I want to dynamically create the content of each tab during run-time by pre-designing the tab page's content as a custom class. So for instance, in a custom class, I could have a 'Panel' as a parent object, within which all my controls will be placed. The plan then is to add an instance of this custom class when the form is initialized, and add this to the tab when user clicks the relevant tree node. Before I proceed, is this the most effective way to go about this If not, can someone please recommend suggested reading If this is the right way, how does o ...Show All
Visual C++ HEAP: Free Heap block modified after it was freed
hello everyone, i came across this problem: HEAP[core.exe]: HEAP: Free Heap block 3af2a8 modified at 3af2d0 after it was freed Windows has triggered a breakpoint in core.exe. This may be due to a corruption of the heap, and indicates a bug in core.exe or any of the DLLs it has loaded. the problematic line is new Log(....); the Log is a class i defined. i maintain a std::vector as a history log to keep a record of every step. also i maintain a bool type variable to enable the user to choose wether or not to keep records. so the code is something like this: class Log { ... } std::vector<Log *> history; bool keepRecord=false; void record(Log *theLog) { if(keepRecord) { history.push_back(theLog) ...Show All
Visual Studio Team System Merging Labels
I have a label that touches several files in two different changesets. I want to use that label for a merge. The VS IDE gives me an error message "No items match $<path> in the label myLabel@$/<path >". So then I figured this could only be handled with the command line merge. I tried this: tf merge /recursive /version:LmyLabel /preview /noprompt $<frompath> $<topath> And it gives me essentially the same error. If I ask TFS about the label "myLabel," it gives me a nice description of the files that are in it. Then I decided to try the command line merge using a changeset spec that is synonimous with that label (e.g. C305~C306). This worked. So is the final conclusion that TFS can't ...Show All
.NET Development IDumpable and IBindable
Hi all, Can someone tell me what namespaces contain IDumpable and IBindable interfaces I can't seem to find either one in the .NET framework documentation. Thanks in advance IDumpable looks like a BizTalk interface (namespace Microsoft.BizTalk.ParsingEngine): http://msdn.microsoft.com/library/default.asp url=/library/en-us/sdkmref_bts/html/T_Microsoft_BizTalk_ParsingEngine_IDumpable.asp IBindable doesn't appear to come from Microsoft. Thanks. ...Show All
Visual Studio Express Editions Error message "non-generic method" using ObjectDataSource and GridView
Here is my process: (all with visual web developer 2005 Express, April version.) 1. create new dataset in the app_code folder, called interaction.xsd. (right-click on the app_code directory and select new...) a. Step through the TableAdapter Configuration Wizard. b. Select the data connection (ManagementConnection String (Web.config) c. Create new stored procedures d. sql statement "SELECT Interaction.* FROM Interaction e. new stored procedure names: InteractionSelect_sp, InteractionInsert_sp, InteractionUpdate_sp, InteractionDelete_sp f. Fill method: FillInteraction, Get method: GetInteraction g. Checked Create methods to send updates directly... h. I now have Interac ...Show All
Windows Forms MissingManifestResourceException using images on controls
I'm trying to set the Image property of a Button. In the designer it is visible, but when I run the project I get a MissingManifestResourceException at the line: this->button1->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"button1.Image"))); the additional information for the exception is: Could not find any resources appropriate for the specified culture (or the neutral culture) in the given assembly. Make sure "panels.Form1.resources" was correctly embedded or linked into assembly . The file "panels.Form1.resources" does not exist, but I don't know why the program searches it. Yes, I renamed the form, I called it PanelsForm.h. If I right-click on the ...Show All
Community Chat My creation - Obstacle detector using webcam and laser pointer
Hello everyone! I created an obstacle detector a few days ago which uses a webcam and a laser pointer to approximately determine how far an obstacle (for example, a wall) is from the camera. Check it out on my blog . If you can't see it on my blog, try http://ashishrd.blogspot.com/2006/11/obstacle-detector-using-webcam-and.html . Hope you find it interesting. :) Ashish ...Show All
Software Development for Windows Vista Application RegistryKey Class Question...
ACDSee has a RegistryKey class that will try to write to LOCAL_MACHINE first and if that fails then it will write to CURRENT_USER. We have used this class for years since even on earlier versions of Windows a user might not be allowed to write to LOCAL_MACHINE. The keys we try to write with this class are all under Software\ACD Systems and the data is information that will be the same for all users on the machine such as the version of decoder/encoder plugins that are installed. This RegistryKey class is causing errors in the Application Verifier every time we try to write to LOCAL_MACHINE and fail even though this is expected. Are errors of this type acceptable Thank you Mark Cosgrove Hello, The important qu ...Show All
Visual Studio 2008 (Pre-release) JulyCTP - Exposing Metadata Programmatically
We are creating our own service host factory and reading the service side config file using objects in System.ServiceModel.Configuration. The procedure was pretty straight forward except for meta data information. Currently we are ignoring the end point for meta data. How can we programmatically enable the meta data exchange for a service Thanks. To turn HTTP GET on - ServiceMetadataBehavior sb = new ServiceMetadataBehavior (); sb.HttpGetEnabled = true ; sh.Description.Behaviors.Add(sb); (sh is the ServiceHost variable) Justin has a post on how to enable mex here - http://www.wintellect.com/Weblogs/TheAPIThatWeeblesAndWobbles.aspx ...Show All
Connected Services Framework Identity Management console
When I try to connect to a server, I get the following error message : "Microsoft CSF Identity Management: Failed parsing the policy document". on the Save Policy File screen. I have entered http://<server>/IdentityManager30/IdentityManager.ashx as my policy path. Did I do something wrong or should I create the file manually Steve Charland Hello Steve, In the policy path browse for the file IdentityManagerPolicy.config. Try it. It should work. Regards, Vikram ...Show All
Visual Studio 2008 (Pre-release) How does one express a many-to-many 3-table arrangement as an entity model?
Take this schema: Authors (ID, First Name, Last Name, etc) Books (ID, Title, ISBN, etc) BookAuthors (BookID, AuthorID, IsPrimary) So, this is a representation of your standard "mapping" scenario where you map many rows of one table to many rows of another table via an interim "mapping" table that supplies the many-to-many relationship. In my experience, I encounter this table structure all the time and is considered extremely common and still satisfies 3NF. As a rule, using ADO EF, I should not have to modify my schema to de-normalize to produce a better relational model - the model should be object/relational and the schema should be 3NF - that's the whole point of an abstracted entity model in the first place. So, I w ...Show All
Visual Studio Tools for Office Using VSTO 2005 Word with Schema to list Information: SIMPLE LIST
Background: I'm creating Word RESUME template with attached schema, which needs to fill employee data into template. Schema (simple for testing) looks something like this: <Resume> <ConsultantName> <ConsultantTools> <Tool> <ToolName> <YearsUsed> <Tool> where consultanttools is a list of tools each with name and years used. Sample of XML to "import" into resume template: <Resume> <ConsultantName>Vadim<ConsultantName> <ConsultantTools> <Tool> <ToolName>VS 2003<ToolName> <YearsUsed>5<YearsUsed> </Tool> <Tool> <ToolName>SQL 2000<ToolName> <YearsUsed>7& ...Show All
