tamc1993's Q&A profile
Windows Forms Installing Merge Modules from C# Windows Form Application (not using a setup and deployment project)
Installing Merge Modules from C# Windows Form Application (not using a setup and deployment project) Hi, Currently, we have an InstallShield project that creates a setup.exe that only installs 20 or so merge modules. It does nothing else. We then have our own custom, C# Windows Form application that installs our software applications. It does this by copying files, creating registry keys, etc. So what I'm trying to do is get rid of the separate InstallShield setup.exe. We want one setup application that installs both the merge modules we need and our software applications. Is there any way to run/install merge modules from ...Show All
Visual Studio Express Editions Windows SaveFileDialogs
Hello, I'm working on a VB project, and I'm trying to use the Savefiledialog boxes so that users can... well save files, but i want to send the name of the file that they are saving to a text file. Just the name, not filepath EX: i want it to send: name.txt But it sends: C:/somedirs/name.txt The code that I'm using is If Me.SaveFileDialog1.ShowDialog() = DialogResult.OK Then Dim sw As StreamWriter = New StreamWriter("In_Use.stk") sw.WriteLine(SaveFileDialog1.FileName) sw.Close() end if (using) Imports System Imports System.IO Any help is greatly appreciated Thanks so much -Rober ...Show All
Visual Studio Team System Team Project Creation Failed with Soap Exception
This is the content of the logs. Any ideas 07/08/2005 02:54:41.607 | Module: Engine | Thread: 4 | Running Task "WSS.WssPortal" 07/08/2005 02:54:45.075 | Module: WssSiteCreator | Thread: 4 | Exception: System.Web.Services.Protocols.SoapException: Exception of type Microsoft.SharePoint.SoapServer.SoapServerException was thrown. at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at Microsoft.Visua ...Show All
Visual Studio how do I change the thread icon to green ?
Hello how do I change the thread icon to green, after I got answer to the question I posted I asked question about SS utility, got full answer, so I thought I can change the thread icon to green which mean that this question is not open anymore. Thanks Oren Hi, You can click on the button "Mark as Answer" on the reply, which is an answer for your post. This marks your post as answered.Then the icon color changes green. Thanks, Bhanu. ...Show All
.NET Development The type or namespace name 'SqlConnection' could not be found
Hey all. I am remlig novel here to .NET so hope there's anyone affable while there can be be of use me awhile running. just now says the to me that ( The type or namespace name 'SqlConnection' could not be found ) however im not understand. I hav try to add this in my namespace ( using System.Data.SqlClient; ) at run that still no. plz help me. NeoNmaN, Does your project have a reference to the System.Data.SqlClient.dll assembly If you are using Visual Studio 2005 or 2003, check this by: - Go to the Solution Explorer, and expand the project that is using SqlConnection. - Under that project, expand the References item. Yo ...Show All
SQL Server again a problem with xml datasource extension
it seems to be that the xml datasource ignore empty fields. why example: < xml version="1.0" standalone="yes" > <Head> <ID>121234</ID> <Title>Hi</Title> <Text></Text> <Amount>3443.90</Amount> </Head> Only ID, Title and Amount appearing in the resultset. any suggestions See this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=376677&SiteID=1 -- Robert ...Show All
.NET Development Convert XML to Excel spreadsheet using XSLT
Hi all, Im very new to XSLT and I need to convert an XML document in the format of: < xml version="1.0" encoding="utf-8" > <AreasRoot> <room name="Entrance Hall"> <item name="Doors"> <roomIndex>0</roomIndex> <conditionBefore></conditionBefore> <conditionAfter></conditionAfter> <commentsBefore>< ...Show All
SQL Server Connect to SQLServer behind a fire wall.
Is it possible to connect to SQLServer which sits behind a firewall I have a VB 6 application using OLEDB. How about with .net appliction. Yes, you just need the right port/protocols open. By default, I believe SQL server uses UDP over port 1434. Here are some MSDN resources: MSDN Library > ... > SQL Server 2000 > Basic Installation Options > Network Libraries http://msdn.microsoft.com/library/en-us/instsql/in_runsetup_77g3.asp frame=true SQL Server 2000 > Relational Database Components > Communication Components http://msdn.microsoft.com/library/en-us/architec/8_ar_cs_98mr.asp ...Show All
.NET Development .Net program execution is very slow
Hi, Suddenly in my system the .net program execution became very very slow . It is taking lot of time for step by step execution in the debug mode. Also the programs which used to execute in 30 sec earlier are taking about 20 minutes to execute. All other applications like MS-office and others are working fine. Please inform how to take corrective steps in this regard. Thanks SM What is the CPU utilization like I would suggest that you also monitor the GC gen-0, 1 and 2 performance counters for your offending applications. Also monitor bytes in all heaps. you may have a heap fragmentation p ...Show All
SQL Server PerfMon questions
[reposted from the NG] 1. What's the difference between a buffer, a flat buffer and a private buffer 2. I assume that the number of buffers used to store data-flow data can be calculated by: [Data flow buffers] = [Buffer in use] - [Private buffers in use] Is that correct 3. Buffer memory is described as: "The amount of memory buffers, of all types, in use" Would that not be better as "The amount of memory in use by all [types of] buffers" Its a subtle difference but, I think, less ambiguous. The first statement I read as meaning the number of buffers in use...which I don't think this is. -Jamie Yeah I think so. If I have any othe ques ...Show All
.NET Development UpdateBatchSize with OracleTransaction Error
Hi All, I am trying to use UpdateBatchSize > 1 with ADO.NET transaction, but I receive following error message everytime I set UpdateBatchSize > 1 (there is no error if I set UpdateBatchSize = 1) Error: ------------------ Execute requires the Command object to have a Transaction object when the Connec tion object assigned to the Command is in a pending local transaction. The Tran saction property of the Command has not been initialized. ----------------- Code: --------------- adapterOracle.UpdateCommand = builder.GetUpdateCommand(); adapterOracle.DeleteCommand = builder.GetDeleteCommand(); adapterOracle.InsertCommand = builder.GetIns ...Show All
Visual Studio 2008 (Pre-release) WPF in Feb CTP still breaking wherever!
The last time it threw exceptions when deserializing the BAML left and right trying to run compiled applications, if I was lucky, I managed it to run once, if it was the first WPF application to run on my system. The reason where was that it was a known bug related to non-SSE2 CPUs. Meanwhile I upgraded my machine to an Athlon64 X2, instead of exceptions, the application is dieing now due to simple breakpoints. I still only manage to run it once, in total two times, once on the x86 runtime and once on the x64 one. There are no breakpoints in my project, so they must be inside WPF. Why is THIS now happening It's really getting frustating. It ...Show All
Smart Device Development Activesynce 4.1 - problem with synchronisation (support code: 86000108)
Hi I just bought an 02 atom and it managed to synchronise the first time with outlook worked. However, it never seemed to synch properly again with the contacts and calender items, only with Notes...I got this error message on the activesync, "activesync encountered a problem on the desktop" Support code: 86000108 I have tried reinstalling a few times and have even used scanpst.exe on the contacts .pst folders, just in case they were corrupted. Anyway, I have searched the net and so far have not found any other solutions to this frustrating problem... Any ideas on how to solve this problem would be greatly appreciated. ...Show All
Visual C++ _bstr_t question
How do I do case conversion for _bstr_t Are there any functions available I looked up MSDN, did not find much help there. Appreciate any help, S _bstr_t exists mainly to provide conversion between ANSI and Unicode strings. It doesn't do much else, you'd have to take the string in whatever format you want and put it into a string wrapper that does tolower, toupper, etc. From memory, std::string needs a function object to do this, but CString will do it. ...Show All
Windows Live Developer Forums any MSN messenger web service API to add contact ? Pls. help
pls. mail me on this. thanks Sharad When someone is logged in to MSN Messenger (or WLM), you can make a link to msnim:add contact=email@hotmail.com to add email@hotmail.com. This only works when the visitor is using Internet Explorer though. It's not really a web service though, but maybe you can use this :) ...Show All
