Greg Rojas's Q&A profile
.NET Development data access problem
I am working on a winforms app that utilizes ODBC to acces paradox tables and a WinMobile database(.sdf) in order to sync table records. My problenm is that as soon as I add a grid with one of the Mobile database tables I get this error Unable to load DLL 'sqlceme30.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) From this code [System.Diagnostics. DebuggerNonUserCodeAttribute ()] private System.Data.SqlServerCe. SqlCeDataAdapter Adapter { get { if (( this ._adapter == null )) { this .InitAdapter(); Error on this line.... } return this ._adapter; Already tried this http://msdn2.microsoft.com/en-us/library/ms171861.aspx I thought that was containe ...Show All
Visual C++ Problems Converting from Studio 2003
Hi folks, I just finished installing C++ Studio 2005 and converted a project I was working on in my 2003 environment. The conversion went smoothly, but when I try to compile the project (WinForm app), the compiler is generating errors for all of my event handlers. Here's an example: 1>c:\documents and settings\zero\my documents\my visual projects\logcopy\Log.h(159) : error C3867: 'LogCopy::Log::buttonClose_Click': function call missing argument list; use '&LogCopy::Log::buttonClose_Click' to create a pointer to member 1>c:\documents and settings\zero\my documents\my visual projects\logcopy\Log.h(159) : error C3350: 'System::EventHandler' : a delegate constructor expects 2 argument(s) The line of code causing these two ...Show All
Visual C++ How to get MAC Address from Driver or Hardware?
hi, all I want to get MAC of network adapter. And I have used GetAdaptersAddresses functions, and it can retrieve correct one. But after I modify the MAC in registry key, it gets the fake one. So is there any way i can get real exactly MAC address stored in network hardware Thanks. The "real MAC address" is in OID_802_3_PERMANENT_ADDRESS, windows save there before change de MAC with the number in the register. It’s impossible to get de real mac address in the netcard, because the new MAC is there too, until a new reset. ...Show All
Visual Studio Team System external lib and include files
Hi, When we develop a new version(c++ mfc app.) we use some "external" lib and include files thats changes alot(~500Mb nightly builds) and we dosen't build them ourself. Do we need to add all files to SourceControl to build our own product with teambuild. Or can we skip the "clean step" between every build and copy all files to the build location or is there another solution to our problem No, it is not possible to do a "permanent delete" in v1. Deleted files will still be in the database and can be recovered if needed. A permanent delete is likely going to be in a future release. Swaha ...Show All
Visual C# video component
I am doing a windows form application in C# and I am searching for a FREE component in which you can play, pause, stop the video AND manipulate the video input, and produce a video output. I want to be able to control/change any pixel in each frame of the video. Can you tell me where to search for such a component or point me to one The video is already in raw YUV format, but it would be nice if you the component can convert the video format (this is not primary). To understand better, I need something like the System.Drawing.Graphics class, in which you can manipulate the pixels, but I need it for each frame in a video. Maybe an alternative is to use the Graphics class and just to convert each frame in a video to a Graphics obj ...Show All
Visual Studio Tools for Office VSTO Outlook 2007 Form Region Question
i have created a new Ribbon with 2 toggleButtons: buttonA and buttonB. what i want is for the page of my custom form region to swap when I click the ribbon buttons. much the same as if I were on a standard Contact item, clicking the 'General' and 'Details' buttons. so far I have created a form region with the formRegionType set to 'replaceAll'. i am uncertain of how to proceed. do i create 2 separate form regions to achieve this or do i somehow implement paging within a single form region i know that i can use the getPressed handler of my ribbon button to make a callback to fire this. but am uncertain where to go from there. thanks. You could do it a couple of different ways, I think. One would b ...Show All
Microsoft ISV Community Center Forums Save/Load pivottable or toggle auto pt refresh when fields added?
Using Excel 2000 and OLAP (AS2005), I'm looking for a way to possible Save/Load pivottable view. I see that OWC has something like this, but I'd need to rewrite a lot of my code and lose some of excel's extended functionality (ie, conditional formatting. show the color red if a value is negative) or another solution would be to toggle the automatic pt refresh that happens when fields added. What I mean by this is when you drag a field onto the pivottable, the pivottable is automatically refreshed. I don't want this to happen when each field is dragged onto the pivot table, but rather call a refresh after I've added all my desired pivot fields. ...Show All
Windows Forms DataGridView and Update/Insert/Delete data in MS Access
Hello, I have an application (Windows Forms) that populates a table from an *.mdb file to a DataGridView . Is there any tutorial available which shows how to implement Update/Delete of current data, or Adding(Insert) new data using the DataGridView Thank you in advaned. take a look at these: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=839711&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=857672&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=843020&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=530275&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=661685&SiteID ...Show All
Visual Studio Team System J2SE runetime environment 5.0 update 6 - progress
hey whats up all Well here is the problem: I was installing java sun so i could play RS but there was a problem and this is what came up: error 1335, the cabinet file 'MSI33.tmp' required for this installation is corrupt and cannot be used. This could indicate a network error, an error reading from the CD-ROM, or a problem with this package. So if anyone could help me, this could be really appreciated ...Show All
Visual Basic resize Mainfrom via mouse from lower right hand corner of form?
The MainForm of a windows app has a triangular dot symbol in the lower right corner. A mouse left click should bring up a diagonal arrow and then dragging the mouse up and to the left ( or left and up) should shrink the mainform, moving the right and bottom borders up while the left and top remain unmoved. My form is not shrinking at all Is there a property I need to set, or uncheck I see a Me.Height and a Me.Width but I don't see any other relevant properties to change if I were to do this using MainForm_MouseDown MainForm_MouseUp MainForm_MouseMove any ideas Here are what I think might be relevant code form MainForm.Designer.vb Me .AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit Me .AutoSize = ...Show All
Silverlight (formerly WPF/E) WPF/E - Embedded JavaScript/HTML
Hello, Is there a way to embed JavaScript or HTML within a .xaml file I played around with CDATA and didn't have any luck. If not, could it be possible to add a parameter to the WPF/E container object that allows developers to point to a custom .js file Very good question... The problem is, I'm attempting to place a WPF/E control on a friend's web page. The trick is, his particular "host" does not allow for JavaScript. It does however allow for <object> tags. My thought was to host the WPF/E control on my page place a url pointing to my site and just run the WPF/E control from my site. While I can successfully access the .xaml file, I cannot load the .js associated with it. Th ...Show All
Visual C++ VS2005 Intellisense Problem
Almost every time i want to use intellisense, i have to wait 30 seg, or close and open VS. I tried installing SP1, recreating my MFC project, but nothing so far... intellisense worked fine in VS2003, or should i call "intellidumb", kidding :P... It only happens in MFC/C++ projects, C# didn't happen so far. I took an image to picture how it works: http://img118.imageshack.us/img118/7683/intellidumbyy2.jpg Any suggestions Tks a lot I didn't see any strange process during this... And i don't think that might be a virus, because the intellisense works, just takes too much time to. And i tried to delete NCB files, the way you said it, many times... Still the same problem.... Tks for the help ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Copying between textures
Hi, I am currently working on a tile map engine and need the ability to build a texture (map) from my tile set which is a texture with all my tiles contained within it. I have been able to create a new texture but cannot see how I can copy sections of my tile set into this texture. If someone could give me some pointers, it would be much appreciated. TIA, Andy George, Very good point, it would be rather anti-social not to cater for *all* video cards. I will take your advice and manage the power of 2 issue. On a side note, in my original test code; in my map scrolled method, I was freeing then recreating the destination texture but after a few seconds was getting an 'Out of video memory' exc ...Show All
Visual Studio Team System Orcas request
For the Orcas release of DB Pro, is there any chance of getting a set of diagram/GUI-based schema editors like the SQL Management Studio At the very least, even if they're two seperate installed products, there should be some sort of integration between the two. DB Pro is great for managing the scripts and doing things like rename, but it lacks graphical tools for doing just about anything. Many of us prefer the GUI's for day-to-day DB design. Thanks! After not finding anything similar, I filed a suggestion here: https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx FeedbackID=250815 Thanks! ...Show All
Community Chat VS 2005 SP1 official release
The official SP1 release for Visual Studio 2005 is available. I've found the following download locations: - Team Suite, Professional and Standard edition - Team Foundation Server - Express editions The service pack for Windows Vista is delayed. A KB article with a list of all the documented bugs that got fixed is available here . I assume additional bug fixes and performance enhances were made that never produced a prior KB article. here you are: http://msdn.microsoft.com/vstudio/support/vs2005sp1/default.aspx For more information, see the Microsoft Download Center: Visual Studio 2005 Team Suite SP1 (includes SP1 updates for Standard, Professional, and Team Editions of Visual Studio 2005) Visual St ...Show All
