chubbysilk's Q&A profile
.NET Development Accessing ADO .Net DLL from C++ code
Hi, I want to access ADO .Net DLL from my java application. I have written a JNI wrapper dll in c++ that uses the ADO .Net DLL. When i run my java application i get an error for MSVCR80.dll Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Eclipse\iwayworks ace\meditech\meditech.dll: Can't find dependent libraries at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(Unknown Source) at java.lang.ClassLoader.loadLibrary(Unknown Source) at java.lang.Runtime.loadLibrary0(Unknown Source) at java.lang.System.loadLibrary(Unknown Source) at com.iway.meditech.AccessMeditechLib.main(AccessMeditechLib.java:9) Do I need to register my ADO .Net Dll -Pragati ...Show All
Visual Studio Team System Unable to get the latest from Team Foundation Server
Hi, I have a team foundation server to which I added some code (Web projects, sln etc). Now when I try to go to File->Open from Source control and select a particular project some of the .cs files are not downloaded to my workspace. (Note: Workspace is already setup) I get a warning -"Unable to get because a directory already exists". and my project is not complete without those. I have to do a manual "Force Get Latest" to get those missing files. Any ideas what could I be doing wrong Thanks Ashish Hi, Can you please check the workspace in the server for the same folder which you mapped in your system.. why i am asking this ..is if you have already mapped one ...Show All
Visual Studio Express Editions Compatibility Issues
Hi Folks, I have a small network with a Novell 3.1 file server. There a four workstations running 98SE with Novell Client 3.1. I want to install an Access DataBase on a shared Novell server drive/directory and access it from each 98 SE workstation. I'll have to update the MDAC files, install .Net Framework 2.0, and install my VB Express DataBase application on each workstation. Are there any known compatibility issues that I should be aware of with any of the above Thanks. Last time I checked, SharpDevelop would run on 98. This was with the version that worked with the 1.1 Framework. The latest version Corsavy which works with Framework 2.0 may or may not work. It is a pretty decent IDE ( a ...Show All
Software Development for Windows Vista c# VFW capVideoStreamCallback(...) (DIB) lpVHdr To Bitmap
Hi, (Update - previous post stated capSetCallbackOnFrame(..) this was an error sorry for any confusion, the call back being used is capVideoStreamCallback(...)) Im using the old VFW (Video for windows) within a c# application to facilitate video capture, partially throught the excellent ezVidCap control, (activeX wrapper for VFW capture) and due to some unfortunate limitations the win32 API. It is required that the preview runs, whilst recording and that a frame may be captured from the video stream at any time, ie recording, or not recording. ezVidCap will not allow or facilitate frame capture whilst recording but does make available the call back capVideoStreamCallback (). During recording I am using the callback function capSetCal ...Show All
Software Development for Windows Vista Persistence Service with Remote SQL Server connection
Is there anyone out there that is successfully persisting and tracking workflow data on a remote server I've had no problems doing this on my local machine. I'm attempting to point to another database server and am getting this error message: System.InvalidOperationException: Workflow with id "9ff9b8b7-2243-4dfd-b606-a7daa88d9b16" not found in state persistence store. I've checked all of the obvious things, remote connections being allowed, DTC turned on and running, etc. I've even opened port 135 through windows firewall and added dtc as an exception. What am I missing ! You aren't compromising any .NET 2.0 work by installing 3.0. .NET 3.0 is simply a set of librari ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Implementation Inheritance Regrets
This is kind of OT, but I'd like to see what the other developers here have to say. I used implementation inheritance in Buttermilk's GUI design. I am regretting it quite a bit. I used implementation inheritance because I reasoned that everyone else's GUI system (including my past two) do so. But the more I learn about design and anti-patterns, the more subtle flaws I see arising because of the decision to use impl inheritance. Why do people use impl inheritance, even when they know better I presume because it's just so darn easy and quick. There is no way a modern language could get away with getting rid of implementation inheritance completely. People wouldn't accept it. In my opinion, a new language without implementation inherita ...Show All
SQL Server Feedback on Microsoft Connect Site
I don't know how many folks here log into the Microsoft Connect site occasionally to check suggestions and bugs submitted to Microsoft for SQL Server and SSIS (still called DTS on their list). A small pecentage Almost everyone (Possibly in this group.) Anyone can vote for feedback they think is important. Theoretically issues with the most votes will get Microsoft's attention first. Links to a couple new submissions that look interesting: 1. SSMS/QA Style Message Logging for SSIS Execute SQL Tasks 2. ForEach SMO Enumerator Filtering I vetted these issues in the forum first, so hopefully they're legitimate enough to warrant some useful feedback or even a few high ...Show All
Windows Forms Publishing Error - Could Not Find Debug Manifest
Hi everyone, I am trying to publish a project that builds and runs properly. When publishing, I get the following error: Error 2 Unable to copy file "bin\Debug\Programs.exe.manifest" to "bin\Debug\ProgramSolution.publish\Program_1_0_0_0\ProgramSolution.exe.manifest". Could not find file 'bin\Debug\Program.exe.manifest'. Where ProgramSolution and Program are replaced with my solution and program names. Does anybody have any suggestions on what steps I should take to fix this Thanks! Kirupa =) I have same problem,therefore I'm copy the program and publish it from copy ,some times work and some times not Sure this is not solution and I need the solution Like you ...Show All
Game Technologies: DirectX, XNA, XACT, etc. imagebox
is there anyway i can get a picture with the format .dds in a picturebox or is there any other way i can show a dds There are tutorial projects in the Feb 07 DX SDK that will show you how I believe. Download it here . ...Show All
SQL Server Developer Edition Remote connection and related issues
Hi All, I think I'm trying to do something I shouldn't but want to verify. I've got Visual Studio Pro 2005 Academic Edition with SQL Server Developer Edition. I loaded SS on my Windows Server 2003 PC server but am not able to connect remotely. I received help on another forum about how to connect the DevEdn but it doesn't read right. It appears that to do so, well, it even says, is a security risk. It just seems to me like Developer Edition was not made for remote connection. Is that true For any of you VB.NET/C# developers, is it hard to migrate a solution from a local solution to a network solution. That's what I'd do if I had to upgrade from a local version of SQL Server to a server PC based version of SS2K5. What is the ...Show All
Visual FoxPro Change default printer works only once
This one is weird... I use the followin function to change my default printer: FUNCTION SetaImpDefa(imp,muda) Declare long WriteProfileString in "kernel32" ; string lpszSection, string lpszKeyName, string lpszString Declare long SendMessage in "user32" ; long hwnd, long wMSg, long wParam, String lParam if muda HWND_BROADCAST = -1 WM_WININICHANGE = 26 endif printer_name = imp printer_buffer = space(200) * len_ret = GetProfileString("PrinterPorts", printer_name, "", ; @printer_buffer, Len(printer_buffer)) printer_buffer = left(printer_buffer,len_ret) * printer_driver = left(printer_buffer,at(',',printer_buffer)-1) printer_buffer = substr(printer_buffer,at(',',printer_buffer)+1) * printer_port = left(printer_buffer,at(',',printer_ ...Show All
.NET Development "bindingRedirect" in web.config does not work (but in machine.config is does)
Hello everybody, I'm using the "bindingRedirect" element in my web.config to allow updates of my referenced assembly without recompiling my website. But I still receive the same error: Could not load file or assembly 'TestLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=c417d4d39ba0d6b2' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) I built my website with version 1.0.0.0 of "TestLibrary". After that I created a version 1.1.0.0 of "TestLibrary" which I placed in the "bin" folder of my website. When accessing the website, the error above is shown. I read that it's possible to redirect a ...Show All
Windows Forms Problem: Installing a ClickOnce-App from a URL
Hello, i have some problems with publishing my ClickOnce-application from an URL. In VB2005 Express, i select "publish Projectname", then i specify a website (http://...) to publish my application, and finally, i select the option "the application is available online and offline". After that, everything works fine. But when i try to start the application from the created website (publish.htm), the setup.exe starts but it stops with showing the .application.-file in the internet explorer. I had the same problem with a local installation some days before, but i could solve it by changing the settings for the .application file type in the folder options. Can anybody help me Regards Tom M ...Show All
Visual Studio Team System Create work items using TFS API?
Hi, I'm trying to import all of our bugs from Bugzilla to TFS. I'm able to pull the data out of Bugzilla's MySQL DB just fine using C#, but how do I use the TFS API to import these bugs I downloaded the TFS SDK and read through some samples, but they seem overly complicated. Can someone please post a very simple example in C# on how to create one work item Bug in TFS I can then take it from there. I need to be referencing Microsoft.TeamFoundation.Client and Microsoft.TeamFoundation.WorkItemTracking.Client correct Thanks, Ethan Hello Ethan, You are in the right track. Below is quick sample. WorkItemStore store = new WorkItemStore ( "serverName" ); Project proj = stor ...Show All
SQL Server Graph of Cumulative values over 12 months
I want to create a graph of cumulative sales over the last 12 months, from say November 2005 to October 2006. I know how to do produce a graph for year to date January to October 2006. I also know how to produce the cumulative 12 month sales figure to October 2006. But what I need is one month sales for November 2005, 2 months for December, 3 months for January etc. I could write a qeury for each individual month using Parallel Period and and hard coding the number of prior months to aggregate but wondered if there was anything simpler. Ideally the method would also work for the last 18, 24 or however many months the user specified. I could also use an iterative function (this month cumulative equals last month cumulative plus this month) ...Show All
