ttad's Q&A profile
Visual Basic Error 80040154 retreiving COM Class factory
Greetings, I have a VB.NET application that references a 3rd party Com component. The file is Interop.WINTSRRLIB.dll. My VB.NET application has a project reference to the COM comonent which lives in the directory: C:\WaveTracker. The application runs fine. When I sent it to my customer, he installed in on his desktop machine. It runs fine. Then he copied all of the application files (which live in C:\WaveTracker) to his laptop. However, on his laptop, he gets the error: "System.Runtime.InteropServices.COMException (0x80040154). Retrieving the COM class factory for component xxxx failed due to the following error: 80040154" The customer swears he has the .NET 2.0 Framework installed properly on his laptop. Any i ...Show All
Visual Basic Inserting Datatable into SQL server table
hi basically i have a Datatable set up called Cans and i got an Sql connection up called SqlConnection , it is connected to the database that i want to insert the datatable into the table inside the SQL server is called RHcans wut is the easiest way to insert the whole datatable into the RHcans table ...Show All
.NET Development .NET Remoting question: SingleCall and static variable
I have a CacheFactory class which contains a static CacheManager member variable, if the CacheFactory is registered as single call remote object, will all the clients that using different instance of the CacheFactory sharing the same CacheManager I am investigating how to build a cache system on a server, and web applications in a web farm can access this cache server. However, I am not quite clear how to expose the CacheManager to web applications and make sure all the web applications are accessing the same CacheManager. I hope I can get some suggestions here. Thanks in advanced Thank you very much. Do you know whether singlecall remoting is efficient and capable of handling large amount of request e.g ...Show All
Visual Studio Express Editions Local Or Remote
Can someone please explain What is the definition of a "local" and a "remote" table Is a local - within your network Is a remote - somewhere in If a local is within your local network, how do you connect from other pc's. I asked a question the other day and someone made the remark that I would not have to use a mapped drive like I have with Access. How do you connect to the data What do you do to the other pc's to see the sql server There again- take it easy on me until I get a sharp as you. Bumfuzzled. David Great, I hope Whats an IDE Would it be better to use SQL 2000 while in developement Thanks for being a teacher today! ...Show All
Visual C# Complicated Serialization
I have a complex object library most of them have got cross references each other. I tried to make serialization and deserialization ,but classic serialization methodology is not enough to do that.. I now i have to use ObjectManager,ObjectIdGenerator , ISurrogateSelector, ISerializationSurrogate solving cross references problem .. Anyone know any sample or detailed description about this subject , could you please link about Surrogate,ObjectManager approach Any sample could help me .. Thx.. ...Show All
Windows Live Developer Forums Looking for skilled API developer
Hi All --- I'm interested in developing an activity that would be a database of profiles for a gay dating service. The profiles would indicate who is online and allow users to communicate via messenger. There would be a browse and search profiles function. Everything else would be messenger based. I'm looking for an API developer that I can work with to develop this... Anyone interested or know someone they can refer me to Thank you, Jim jimmcdermott@si.rr.com Jim McDermott wrote: Hi All --- I'm interested in developing an activity that would be a database of profiles for a gay dating service. The profiles would indicate who is online and allow users to communicate via messenge ...Show All
Visual Studio Team System Discrepancy when files are deleted
If I delete a folder than is the local path for a node under source control, it still shows up in the Source Control Explorer that the folder still exists and is the latest version. I even restart VS.NET 2005 and it still shows up in this way. How can I fix this discrepancy When you Get files into your local cache (local PC), the TFVC server keeps track of the files and versions that you have retrieved. If you physically remove the files from the local drive, TFVC doesn't know that they are gone. If you delete the files from Source Control Explorer and then do a check-in to commit the delete, the files are removed from TFVC and from your local drive. The important thing to remember about TFVC is that it wants to control the files ...Show All
Windows Forms Question about accessing properties, methods from a user control
Hello! I have a problem which is frustrating me. Why won't the roperties and methods that are inherited from my custom user control work on my Win Form I have declared the properties and methods as Public and Intellisense "sees" the property if I call it from the Form. But, the frustrating part is that the property does not work. It is a simple property that changes the string value of the text on a label. The label's container is a ToolStrip. Here's the property: Public Property DisplayApplicationStatus() As String Get Return Me. label1.Text End Get Set ( ByVal value As String ) Me .label1.Text = value End Set End Property As I stated earlier, VB.NET "sees" ...Show All
Visual C++ Tracking MSDN cd number????
We have a subscirption for MSDN, the guy that is managing the subscription is not availball and I need to install Visual studio on 64 bit machine, How do I found the CD number for that version. We have all the cd in arrange in order from 1-3500... Thanks Hello Re: Tracking MSDN cd number Such questions are outside the scope of this forum - for the scope of the Visual C++ General forum please look at: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=19445&SiteID=1 OTP thanks bite ...Show All
.NET Development Decimal.TryParse failed in da-DK culture.
I have this code that always return zero whenever i passed 1,000,00 in a da-DK culture or en-US culture. It works with amount less that 1000 like 99,99. but always returns 0 when greater than or equal to 1000. Decimal separator is ",". I suspect its because the decimal and thousand separator are the same. Thread.CurrentThread.CurrentCulture = new CultureInfo(Thread.CurrentThread.CurrentCulture.Name); Thread.CurrentThread.CurrentCulture.NumberFormat.CurrencySymbol = ""; Thread.CurrentThread.CurrentCulture.NumberFormat.CurrencyDecimalSeparator = ","; Thread.CurrentThread.CurrentCulture.NumberFormat.CurrencyGroupSeparator = ","; Thread.CurrentThread.CurrentCulture.NumberFormat.CurrencyDecimalDigits = 2; Thread.CurrentThread. ...Show All
Visual Studio Team System Check out file with MSBUild and replace with a new version ?
Hi, we have a solution called Shared in which we keep some DLLs that are used between solutions. When I use TFS Automated build to compile a solution on the build machine, is there anyway to then take that DLL that was just freshly built, check out the version in Shared and overwrit e the old DLL with the new one and check it back in Do you mean that you are want to run a build which creates a dll and then want to checkin the dll into version control If so, then you can write a script that uses the command line to run a build followed by the desired version control operations. Take a look at the following for using the command line for Build and VC operations. http://msdn2.microsoft.com/en-us/library/aa337622.aspx http://m ...Show All
SQL Server How to check whether SSIS is installed
I'm using the import wizard to create a new table from a flat file source. The table gets created but no data gets copied. What's wrong Here's the report: Operation stopped... - Initializing Data Flow Task (Success) - Initializing Connections (Success) - Setting SQL Command (Success) - Setting Source Connection (Success) - Setting Destination Connection (Success) - Validating (Error) Messages * Error 0xc00470fe: Data Flow Task: The product level is insufficient for component "Source - inSsrc_txt" (1). (SQL Server Import and Export Wizard)   ...Show All
Visual Studio 2008 (Pre-release) Where is WpfPerf (Perforator) on x64?
Hi, My development machine runs Windows Server 2003 x64. I can't seem to find WpfPerf.exe in the SDK tools. I looked here: C:\Program Files\Microsoft SDKs\Windows\v6.0\Bin and here: C:\Program Files\Microsoft SDKs\Windows\v6.0\Bin\x64 with no luck. Does it get installed on x64 systems Do I need to install on a x86 system, and copy the files Thanks, - Imad Hi Imad Unfortunately we do not have yet a x64 version of WPFPerf.exe. We plan to post x64 version in the near future. Jossef ...Show All
Visual C# directoryentry
hi i have a problem with the first argument of this methode directoryentry.Invoke( ); where can i find the methodname that i should post as the first argument what the available methodename the method name is the method in your class you wish to invoke (the delegate method) http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemwindowsformscontrolclassinvoketopic.asp http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemwindowsformscontrolclassinvoketopic1.asp ...Show All
Visual Basic VB/SQL Server 2005 connection string, Windows authentication
I have an old Word 2000 macro (VB6 script). It connected to Server 2000 database using server authentication. Now I want to connect to a Server 2005 db, using Windows authentication if possible. The old string that worked is: Provider=SQLOLEDB;Data Source='(local)';Initial Catalog='<catalog name>';User ID='sa';Password='<sa's password>' Can I use Windows authentication If so, what do I use for [User ID] and [Password] I tried '' for both and it didn't work. Moreover, where in the world can I find a comprehensive discussion on how to use and setup these blasted connection strings I've been to www.connectionstrings.com and it's just a bit sparse on details... ...Show All
