JimInTexas's Q&A profile
Visual C++ warning LNK4078
Hello, We recently ported a huge MFC app of ours from VS6 tot VS.Net 2003. Which, aside from a few hickups, went quite fine! In Debug build, everyting builds without any errors/warnings. But in Release build, each project (there are about 7) links with a lot of linker warnings: LINK : warning LNK4078: multiple '.data' sections found with different attributes (60000020) LINK : warning LNK4078: multiple '.data' sections found with different attributes (60000020) ... I googled for the warning, but this only brought me to some issues with VS6... Has anybody had this warning in VS7 How do I get rid of it Thanks in advance! Fretje ...Show All
Windows Forms RichTextBox that grows and shrinks to fit content
I am trying to find a way to create a rich text control that sizes itself to its content. You can see something like this in OneNote and in Agilix GoBinder. You click anywhere on the work surface and start to type. A text box is formed that fits what you have typed. There are various hints on the web where people have used Graphics.Measu ...Show All
System Center SCCP Download
Anybody point me to the download Followed several links but they all failed....... Help, I just want to evaluate as part of a Capacity managment project Followup: SCCP 2006 is now available as a download for MSDN subscribers. See http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=339379 for more details ...Show All
Visual Basic Windows Form Designer generated code
I am trying to move an application from VB6 to VB.net 2005 Express. I have all the code converted without error. Now I need to add several classes. The classes were moved from VB.net 2002 to 2005. The forms all have a section " Windows Form Designer generated code" where code for 'MyControlArray' was place for the class. See below: # Region " Windows Form Designer generated code " Public Sub New () MyBase .New() 'This call is required by the Windows Form Designer. InitializeComponent() 'Add any initialization after the InitializeComponent() call MyControlArray = New clsLabelArray( Me ) ...Show All
.NET Development Discovery Credential
Hi all! I am creating a WS to send information between 2 computers using Internet. We are trying to secure the Web Service, for that reason the Admin has created a user and password on his web server. If I go to the url where the WS is publicated via Internet Explorer i have to enter the user and password and I see the Description of the WS... The problem is when I create a Web Application and I wan't to add the reference of this WS... I have to enter either the user and password but also it asks me Discovery Credential... I enter the same user and password in this second screen but I can't Add the Reference... Anyone can help me Thx! ...Show All
.NET Development Remoting Object reference not set to an instance of an object.
I am receiving an error that I can't track down. If I set a breakpoint anywhere in my code (or run normally) then step through I get this error. The stack is at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink) at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.ThreadPoolCallBack(Object o) at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state) at System.Threading.ExecutionContext.runTryCode(Object userData) at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(Tr ...Show All
Visual Studio Team System ?!
I have just installed the Team Suite. Now, should I be able to use it without the server Under File->New, I only see 'Team Project'. Is that how it is supposed to be If that is the case, I assume I now have to install the server part too. That wouldn`t be good... Thanks Rob. I apologize for not answering earlier, but I never got alerted about your reply. I decided to completely reinstall XP, Visual Studio... Btw, I dont remember choosing any profiles. I think the problem was caused by installing Team Foundation Server before installing Team Suite. Off the topic but... Is there a good tutorial on usi ...Show All
Visual Basic Connection String in Module
Hi, I'm currently working on an application that has only one Form + 2 Modules. In one of my modules i need to have access to 2 Access DataBases. I know there are some objects we can add to our forms to gain access to databases, but I dont want my form to have access to the databases, just one of my modules. Is there a way to do that or do I need to use the form thanks a lot for helping. Its been a long time since I worked with DB. Typically the form is used as the UI only and all db work should be done in a DAL comprised of modules and or classes... So yes you can put your connection string in a module (recommend looki ...Show All
Visual Studio Consuming MSSCCI plugin - calling SccInitialize
Hi I'm trying to write an editor (in C#) that would be able to connect to source control using MSSCCI, much like Visual Studio does. I've started by importing SccInitialize method from the VSS plugin C:\Program Files\Microsoft Visual SourceSafe\ssscc.dll. I can call SccGetVersion() and it works fine, but when I call SccInitialize, it returns -15 ( #define SCC_E_NONSPECIFICERROR -15). SccInitialize populates and returns lpSccName (puts "Source Safe" there) and lpAuxPathLabel (puts "Source Safe Database" there). Is there anything special I have to do to consume VSS plugin from my custom code Is there ...Show All
Visual Studio Express Editions Reading and Writing ListView's to file, with a twist
Hi, I need to be able to save the contents of a listview (with a single subitem in each item, which has multi-line text) to a file and then be able to read it back into the listview. I tried the basic approach, which led to incorrect reading, since the subitems contained multiple lines and my code treat any one of those lines as a subitems text rather than treating all the lines as the text (no simple way of knowing where my subitem text began and ended), so... I tried serialization, which seems to work on the save side of things, but when i try and load the info back in, i get a casting error on my BinaryFormatter. Can someone please write ...Show All
.NET Development Converting streams
I have a Stream which is Stream stream = httpWebResponse.GetResponseStream(); I need to convert this System.IO.Stream into System.IO.MemoryStream. How can I do that with C# 2003 The data that a server returns is an image. I would do byte [] data = webClient.DownloadData(uri); but for certain reasons I have to use HttpWebRequest/Response. Thank you. You can't convert it from one to the other .. you would read data from that stream into a memory stream. Although I am curious why you need to read it into a memory stream as opposed to using the response stream directly I can write code such as .. public void DoSomething(Stream s) ...Show All
Visual Basic OleDbDataAdapter does not update
Hi, I am having a a problem geting a data adapter to update a recordset. This is the steps. I added a connection and an data adapter to a form. The data source is a Access table. The table has 8 columns. I selected 2 of them and added a criteria to limit the number of rows selected. I then generate a dataset. In my code I call the .Fill method to populate the dataset. I iterate through the table in the dataset modify one column of every row. I have verified that there are modifications by looking at the rowstate property and there are modified rows. I then call the .Upd ...Show All
Visual Studio Elements doesn't appear to the target designer (SDK June CTP)
Hi! I've created a simple DSL and a diagram with two compartment shapes and one GeometryShape. Everything goes fine, no errors/warnings when building the dsldefinition solution, and the target debugging solution runs fine. But when I drag elements from the toolbox to the drawing surface, I cannot see them. They appear to the dsl explorer but no to the drawing surface. Any ideas how to resolve this issue Thanks in advance.. Risto Hi Risto, Can you do a Validate All on your diagram Unfortuantely the code generators aren't running validation yet in this CTP. The most usual cause for this is an incorrect ...Show All
Windows Forms Designer Support for Custom Controls in Compact Framework
How can I obtain Visual Studio Designer support for the following properties of my Custom Control public object DataSource { get { return this.bindingSource.DataSource; } set { this.bindingSource.DataSource=value; } } private BindingSource bindingSource; public string DataMember { get { return this.bindingSource.DataMember; } set { this.bindingSource.DataMember=value; } } public DataGridTableStyle GroupColumns { get { return this.groupColumns; } set { this.groupColumns=value; } } private DataGridTableStyle groupColumns; public DataGridTableStyle DetailColumns ...Show All
Smart Device Development background services
http://www.pocketpcdn.com/articles/services.html is this still up to date somebody who has experiences withit Even better, does somebody understand it :) and knows how to use it. The sample files can you find below. I want an alltime backgroundservice that for example always on 3 o' clock do function. ...Show All
