Mystagogue's Q&A profile
Visual J# Visual J# 1.1 Redistributables XP Embedded
Is there a component for XP Embedded for Visual J# 1.1 Redist. available Hi, If you have built your assembly on 2.0 Framework then there is no way you can run it on Fx 1.1. This is true irrespective of the language you have chosen for coding, i mean a C# assembly built in 2.0, can't be run on 1.1. The reason is that 2.0 aseembly metadata has changed from 1.1. That's why even if you write a config file to redirect to 1.1 and run your asembly, you will get a BadImageFormatException. Now coming back to your problem, i am not getting following statement completely... "The customer / 3rd party application developers require the J# redistributables which in turn requires the .net 1.1 component" Does this statement m ...Show All
Visual C# Timer Question
I have a form with 2 buttons on it. Click on each button will launch their own methods. Let's say they are: button1_click button2 _click Now I want to add a timer to my form, and at specified intervals I would like the timer to launch each method, but I would like it to be as if I had clicked the button at that time. The reason is that I use a backgroundWorker, and I need my progressBar to still be able to update. Thanks for any help, Russ PerformClick() worked perfect, much easier then I expected. I already had the tick event setup, so I just had to insert the code you gave me. Thanks, Russ ...Show All
Visual Studio Team System Reject deletion of documents in Sharepoint (WSS 2.0)
When a file is deleted in a document library it is lost and there is no way to recover the deleted document. Even in a versioned document library one can’t access earlier versions any longer. One of our development projects asked me how they could achieve the following on their Sharepoint Project Portal: Only an administrator should be allowed to delete a file. First I thought I only have to deny the right to delete from the contributors group - but it’s always coupled with the right to add / edit. And of course contributors should add and edit files. Then I thought maybe we could achieve this by activating content approval - but reading about it I think that’s not what I need either. Is there a way to reject deletion of docume ...Show All
.NET Development <C:\DOCUME~1\32329\LOCALS~1\Temp\IXP000.TMP\bootstrap.exe>. Reason: C:\WINDOWS\system32\advpack.dll
I am getting this error whenever i try to install MSN messenger . <C:\DOCUME~1\32329\LOCALS~1\Temp\IXP000.TMP\ Bootstrap.exe>. Reason: C:\WINDOWS\system32\advpack.dll I tried installing VBrun 6.0 for the latest version of advpack. dll , but still i am not able to install the messenger as it gives me the same error. can anyone help I get exactly the same message. Please can someone help me. If you reply to this desparate cry for help, assume that I have the computer skills of a young chimpanzee, who i am told can play pacman. ...Show All
Windows Forms Reg - Building a presentation table for a datagrid
hi, We have a third party data grid to display data. The datasource is a table, we call it as presentation table It has an universal ID as orimary key. The presentation table is dynamically built based on users preferences. The user can decide what data points he wants to see. The data for the presentation table comes from multiple tables say t1, t2, t3 and so on. Say column c1 comes from t1, c2 from t2 and so on. If the user chooses to see c1 and c5, we create a presentation table and add new columns similar to c1 and c5. Then copy data from t1 and t2 of the respective columns to the presentation table and display it to the user. All t1, t2 have universalID as primary key.This is the overall outline. This logic works p ...Show All
Software Development for Windows Vista working from win form
I have a question. In the form when pressing the button, the workflow starts I wrote the following code in the button1_click event. I have used a my service for work with handle external method and callexternalevent activities Is this correct private void Button1_Click( object sender, EventArgs e) if (wr != null ) { wr = new WorkflowRuntime (); wr.StartRuntime(); } ExternalDataExchangeService dataExchange = new ExternalDataExchangeService (); workflowRuntime.AddService(dataExchange); MyService myService = new MyService (); dataExchange.AddService(myService); WorkflowInstance wi = wr.CreateWorkflow( typeof (WFizin. izinWorkflow )); wi.Start(); thanks ...Show All
SQL Server SQL wants DTS Designer but it is installed
After many installtions and upgrades this latest one has me completely stumped. I created an image of the server and upgraded it (the image) from SQL 2000 SP4 to SQL 2005 SP1. Then I installed the DTS Designer Components without a hitch. I was able to open all imported DTS packages. After the initial testing I continued to upgrade the production server. I followed the same procedures as when I upgraded the image. I am however not able to open the DTS Designer and SQL requests that the designer needs to be installed, even though it IS installed. I have tried re-installing the Backward Compatibility Components. Not even repairing it made any difference. Any help would be greatly appreciated, RoviWil ...Show All
SharePoint Products and Technologies How are you gnerating application definitions?
Hello All, I am just cusrious to know how are you guys generating your application definitions in BDC by hand or using one of the tools out there to auto generate that scary XML file I am unable to find a tool which gives me the ability to include stored procedures in my app def instead of pure tables or views Any help would be appreciated. Thanks a lot Frank, My take on this is 1) Microsoft have always stated that there is a significant market for partners to develop value added tools for the MOSS platform. BDCMetaMan is one example. What they have done is provide a very good import routine that will identify exactly where in the XML you have problems. 2) If you create a lot of BDC meta ...Show All
Visual Basic Fixed Width Text File Into SQL Database
Any ideas on how to import a fixed width text file into an SQL database Write a conversion application which reads the values in from the text file. I'd suggest looking at the textfieldparser class http://msdn2.microsoft.com/en-us/library/zezabash(VS.80).aspx Then you can use ADO.NET to execute a Insert SQL Statement using the values read in from the text file. The following shows how a simple ADO.NET command object can be used to execute a SQL Insert Command http://samples.gotdotnet.com/quickstart/howto/doc/adoplus/ExecuteCommand.aspx Thats just the general idea of how to implement a solution. Basically its breaking it down into two actions reading a line from the text file and updatin ...Show All
SQL Server Row Count from flat file to table in the target
We have project in SSIS: Control Flow Load Data Flow Task to Copy Data Flow Task to Scrip Task Data Flow under Load Data Flow Task has Flat File Source to Row Count1 to OLE DB Destination (ODS database) Variable name for Row Count1 is RowCount Data Flow under Copy Data Flow Task has OLE DB Source to RowCount2 to OLE DB Destination (WIMS database) Variable name for Row Count2 is RowNumber Data Flow under Script Task is code: ' Microsoft SQL Server Integration Services Script Task ' Write scripts using Microsoft Visual Basic ' The ScriptMain class is the entry point of the Script Task. Imports System ...Show All
SQL Server SSIS package cant run in sql job
I already schedule ssis package but fail running in sql job I test run the package from SSIS and it successful but fail when run in sqlserver agent->jobs with message : The process could not be created for step 1 of job 0x78DF57ECF2572549A372E6295CB4C057 (reason: The system cannot find the file specified). The step failed. any idea --soonyu Soonyu, Are you scheduling the job to run on the same server/PC on which you developed the SSIS package Can you verify that the .dtsx file was copied to the server/PC that you are trying to schedule it from I have this same problem... I develop SSIS packages on my desktop, then when I am done, I move the .dtsx file to the server that ...Show All
.NET Development how to get every element of a string and compare the last one...
The Code to Write received data to a text file: String s = comport.ReadExisting(); string[] parts = s.Split(new string[] { "\r", "\n" }, StringSplitOptions.RemoveEmptyEntries); using (StreamWriter sw = new StreamWriter((@"C:\" + DateTime.Now.ToLongDateString()+".txt"),true)) { foreach (string part in parts) { //convert hex string to int number int dec = int.Parse(part, System.Globalization.NumberStyles.HexNumber); //write received data with current time and converted int number to the .txt file sw.WriteLine("{0}\t{1}", DateTime.Now.ToLongTimeString(), part); } } The data I got is shown as follow ...Show All
SQL Server SQL 2000 locked in Single User Mode
I have gotten my production version of SQL locked into single user mode. We recently upgraded to a clustered configeration and when I went to pause the system to get control I was told Pause was not available in a clustered environment. I restarted the service with -m [single user] but couldn't run Enterprise Manager as it appeared to take the only user slot and not give me one. Then I hit on startingup with Query Analyzer and that worked but now how do I get it back into multi-user mode. I placed the -m in the settings using Enterprise manager; could I stop the service and restart at the cmd prompt using -f [minimal config] and get Enterprise manager running Any assistance appreciated. Thank you to those ...Show All
Visual C++ FriendlyName to Drive Letter or vice vessa??
Hi, all Currently I looking an API for converting USB device 's FriendlyName to Drive Letter or vice Vessa. Any one have an suggestion Regards, bxchan Please direct this question to one of the SDK newsgroups at http://msdn.microsoft.com/newsgroups . This forum is meant for C++ language queries only. Thanks! OTP. ...Show All
Visual C++ any comments about a cache design?
Hello everyone, I am going to design a Cache in C/C++ (memory cache). I have two different approaches to design/implement it, any comments will be appreciated. Design 1, using a map (hashtable) to store key --> object pointer relationship (simple and straight forward); Design 2, store real object or object pointer in a stack/linked list/queue/array as an internal storage data structure, then using a map (hashtable) as an external interface to mapping key --> index in the stack/linked list/queue/array; (in this design, when accessing an object, we need two times mapping, first mapping key to index in the stack/linked list/queue/array, then using the index to access the real object) I am wondering any advantages or disadvantages of th ...Show All
