R.Tutus's Q&A profile
Visual Studio Express Editions treenode Inheritance problem
Here is my treenode class . Public class MyTreeNode : TreeNode { public string Name; public int ID; public MyTreeNode(string name, int id) { Name = name; ID = id; this.Text = name; } Now when i made my nodes I can't access the Added Members Name or ID Does anyone know why am i not doing something correct Enlikil wrote: That is what i did originaly, but then i could never figure out how to access the members of my newly derived class of a treenode.. I was expecting something like Mytreenode Mynode; // just an example mynode.name would access the name variable, but that just wasn't the case Hi, You can access your new members by crea ...Show All
SQL Server Currency conversion
Hello, Somebody can tell me how to use the scripts that are generated by the "Add Business Intelligence\Define Currency Conversion" in the MDX. Thanks, Dunia ...Show All
Visual Studio Express Editions scrolling panel as text expands
Hi all, I'm using a panel to display text using the e.Graphics.DrawString function... Unfortunately, the amount of text that I will be displaying is bound to vary, and as such, I need my panel to scroll as needed. Of course I have the autoscroll property set to true, but when more text is added to the panel that can be displayed (ie, i need to use a vertical scrollbar), a scrollbar doesn't appear, and I can't view all of the text. Does anyone know how I can make the panel scroll appropriately as needed Thanks so much Any input is greatly appreciated! Thanks again -Robert Proof of concept, Dave, proof of concept ! I like what you've posted - works pretty darned good, and a simple solution. Sounds like an answer to me! ...Show All
.NET Development Problem with custom encoding
Hi I'm writing my own Encoder which I will use on the SerialPort class. The small tests I've made work just fine, but when assigning the encoder to the SerialPort.Encoder, I get the exception System.NotSupportedException : No data is available for encoding 0 at System.Text.Encoding.GetDataItem() at System.Text.Encoding.get_WebName() at System.IO.Ports.SerialPort.set_Encoding(Encoding value) Does anyone know why this might be Have I failed to implement some overload, or incorrect overload I'm sorry I can't provide with any more information than this. Hopefully someone have had this problem before, and figured out what it was. Best regards Bjornar Sundsbo There ...Show All
Visual C++ error LNK2028: unresolved token (trying to attach an existing window)
Hi! I'm trying to use the FindWindow() function, but it doesn't seem to work properly. My whole program works just fine, but as soon as i add this piece of code, i get these weird compiler errors. code: static char * fWndSTATIC = "FLYFF" ; HWND fWindow = FindWindow(NULL, LPCWSTR(fWndSTATIC)); returning error when compiling: Error 1 error LNK2028: unresolved token (0A000013) "extern "C" struct HWND__ * __stdcall FindWindowW(wchar_t const *,wchar_t const *)" ( FindWindowW@@$$J18YGPAUHWND__@@PB_W0@Z ) referenced in function "private: void __clrcall FlyFFINCAPro::Form1::activateINCAToolStripMenuItem_Click(class System::Object ^,class System::EventArgs ^)" ( activateINCAToolStripMenuItem_Click@ ...Show All
Visual C++ Compile error: C3699
First off, I would like to say that I am quite aware that I am supposed to use " ^ " instead of " * ". My question is this: In the code below, to my knowledge, filelist creates a new object identical to xml->ChildNodes[0]. Is there a way that I can create a handle to the object xml->ChildNodes[0] instead of duplicating it I have tried using " * " instead wich obviously brings up the C3699 compiler error, but im not sure what else to do. If it creates a copy, then any changes i make the filelist will have to be manualy copied to xml wich is what im trying to avoid. [code] using namespace System; using namespace System::Xml; String^ filename=gcnew String("some file name"); XmlDocument xml= ...Show All
SQL Server Updating a table by both inserting and updating in the Data Flow
I am very new to SQL Server 2005. I have created a package to load data from a flat delimited file to a database table. The initial load has worked. However, in the future, I will have flat files used to update the table. Some of the records will need to be inserted and some will need to update existing rows. I am trying to do this from SSIS. However, I am very lost as to how to do this. Any suggestions This should help: Checking if a row exists and if it does, has it changed ( http://blogs.conchango.com/jamiethomson/archive/2006/09/12/SSIS_3A00_-Checking-if-a-row-exists-and-if-it-does_2C00_-has-it-changed.aspx ) -Jamie ...Show All
Software Development for Windows Vista ISA Firewall Client
Why can't I install the ISA firewall client on Vista. I have tried stopping Windows defender but it still doesn't allow me to install it. Can anyone help To allow pop3/smtp, just create a rule allowing pop3/smtp trafic from internal for ALL USERS. it seems that the user iddentification is not passed to ISA Hope this will help ...Show All
SQL Server sql connection
hello, Is it possible to use TELNET(from the client in LAN A) and access database instance at(sql Server at LAN B) . I meann to say is, can we use TElnet over the internet to access the instance. can anybody helps me Thanks in advance YOu can open a port to SQL Server via telnet, it questionable what you can do with telnet on the instance. You can also use any query tool to access the appropiate port on the SQL Server. If the Server is behind a firewall you will have to do a port fowarding, opening the firewall and redirecting the request to the sQl Server. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual Studio 2008 (Pre-release) Equivalent tool to Spy++? Debugging .net System assemblies.
I ran into a great little tool yesterday: .net Reflector http://www.aisto.com/roeder/dotnet/ -- a C# decompiler for .net system assemblies, which, I think may become a great friend. But I still can't debug through system code. Has anyone seen tools for debugging through decompiled system assemblies in the Visual Studio debugger That would be a great thing. Either that or open source for WPF. Somebody needs to tell somebody at Microsoft in no uncertain terms that open source for WPF would *definitely* increase programmer productivity on WPF. A lot. *nudge* *nudge* *nudge*. And does anyone know of a tool that's equivalent to Spy++ for WPF Some insight into behaviour of routed events would make it much easier to figure out w ...Show All
Windows Forms Print file
I read a text file and i want to print it.The text is more than one page.I want also at the bottom of the last page to draw a line of text. i use this text = streamreader.ReadToEnd(); e.Graphics.DrawString(Text,...); And is printed only the first page. How can i count the pages needed and print the file. ...Show All
Software Development for Windows Vista Single-instance DCOM server problems with high/low integrity levels
I am working on an application that employs a single-instance DCOM server. The application works fine on all other versions of Windows except Vista. There is a strange behavior that I observe on Vista in regards of the instantiation of the singleton COM interface if there is a difference between integrity levels of the server and client applications. The single instance is accomplished by having the singleton interfaces declared with DECLARE_CLASSFACTORY_SINGLETON ATL macro. Additionally, there is a code in the application that ensures only one instance of application is running by utilizing a named mutex. The application checks if the mutex exists, exits if it does and stays running otherwise. The scenario of the problem I pbserve is the ...Show All
Smart Device Development Disable ActiveSync Networking?
How can I disable networking over ActiveSync There's no option in ActiveSync 4.1 to disable it. I need to debug a networking problem that only occurs using the device networking. When the device is plugged in to the PC and ActiveSync networking is used the bug doesn't occur. No, NETCF debugger works through TCP/IP and valid IP is required, with or without AS. So your problem has nothing to do with AS and is a classical case of debugger changing behavior of the application. If you have IP you can debug, but issue does not repro, it you don’t have IP issue repros, but you can’t debug. That happens quite often in real time world and the workaround it not to use debugger. That's what you can do as well, e ...Show All
Visual Studio Team System Is anyone answering?
Hi, Just wondering if anyone is actively answering questions on this forum That isn't meant to be rude or rhetoric, I genuinely want to know. Because if no-one is then I shant post any more questions. If the people that normally answer questions are currently too busy then that's fair enough! I know that nobody is required to answer questions. -Jamie Hi Jamie, Absolutely we are actively trying to answer questions on this forum. There is an email every morning that tells us what questions are new and what questions are still unanswered on the forum. Right now the product team is heads down working to get the next CTP and the V1 of the product out by the end of the year. There has recently been a big push to ...Show All
Visual C++ Getting an error RC2188 (Visual Studio 2005, C++)
Hi, For some reason I'm getting an RC2188 error from the Resource Compiler when accessing the Resource View. There is no documentation for this error. Situation is, I have an RC2 file with my version info in, which is not to be edited by Visual Studio. When the message comes up, it has the path to the RC2 file with a (6) after it. Presumably this is the line number which is #error this file is not editable by Microsoft Visual C++ Anyone have any idea why this is now causing an error (has been working fine in this configuration for months) Thanks in advance Ian. Right, think I've managed to solve it.... I implemented the Automatic Build Number Increasing Macro as found here . It ...Show All
