Charles Washika's Q&A profile
.NET Development Error with DLL in network application
Hi all. I'm having problems with a DLL running in my intranet. I tested the DLL locally and it work, but when moving to a shared project hosted in a Windows 2003 Server, it gives security exceptions. I'm making tests with a simple DLL that creates a text file in the server. A strange thing is that from my PC it works, but from other PCs on the networks it gives the exception. I saw in MSDN documents that I have to sign my DLL with a strong name ...Show All
Windows Forms drawing on a form from within a seperate function
Are there any examples of using CreateGraphics() inside a function, seperate from an Windows Forms I have a function that loops - every time it does, I need to draw a red rectangle : Graphics* gr2; gr2 = cc->CreateGraphics(); SolidBrush..... gr2->FillRectangle(..... I get object reference not set to instance of object - I thought cc is an instance inside the Form declaration : public: static System::Windows::Forms::Control * cc;  ...Show All
Visual Studio 2008 (Pre-release) LINQ syntax in VB.NET
I've been looking into this LINQ thing, and it's looking good. Thumbs up! I watched the videos on Channel9 with the Great Dane Anders Hejlsberg (ok he lives in the US but I like to think of him as Danish) - godt gaet Anders og co! I really like the syntax in C# where you turn the query around when compared to SQL, so it is like FROM {x} WHERE {y == 1} SELECT {z}. This I understand was done because of IntelliSense, which is great. Now I have lear ...Show All
Windows Forms Toolstrip Objects Moved by VS.NET 2005
I have been experiencing some strange behavior inside the IDE. I have three toolstrips and a menustrip inside the Toolstripcontainer.TopToolstripPanel object. Frequently, the IDE will shift my toolstrips around inside the designer. Each time, I have to manually move the toolstrips to where I want them located within the toolstripcontainer. How can I prevent this from happening Is there some kind of layout setting within the toolstripcontainer t ...Show All
Visual Basic Creating a program that can save in a specific file format.
Hello, I was wondering how (and if) to create a program that will allow me to type some text, make some selections, and then save it. What I need to know is how to save the program then be able to re-open it properly. Thanks for any help. Hi X, I hope you don't think me picky. I think there is a clear way to state this and the people who answer your questions will apreciate the clearly. You may ...Show All
Visual C# PInvokeStackImbalance was detected
Hi, I keep getting this error when I try to run my project from the IDE.This does not happen when running the exe. The details specify that the Stack Imbalance was detected in a third party dll which I am using. How can I fix this. Thanks, tribal A call to PInvoke function ThirdPartyDll!Namespace.ClassName.NativeMethods::ImageList_DrawEx' has unbalanced the stack. This is likely because the managed PInvoke signature does not match th ...Show All
Smart Device Development Using POOM in Visual Studio 2005 for PPC 2003 Projects
Hi guys, I'm using Visual Studio 2005 to write an PPC 2003 application. Now my major problem is to create tasks and items in the calendar. Are there any tutorials about doing this in an easy way I did not find an easy to use solution using google. Thanks to you all!! Ralph This library works like the WM5.0 libraries but also supports WM2003 devices:- http://www.inthehand.com/WindowsMobile.aspx Peter ...Show All
Windows Forms Thread question
Hi, I have a winform application that fire a thread that verifies a database, if the database has some new entry, the thread needs to communicate the main thread.. How can I do this via message via event via fire balls =P Thanx! To see an example of the BackgroundWorker in action check out the Application at the bottom of the page - http://www.windowsforms.net/Default.aspx tabindex=9&tabid=3 App Summary - ...Show All
.NET Development Accessing J4 type files.
Hi, I want to know if I can open a "J4 file" in a .NET program. "J4" files are the main file used in the jBASE database system. So, if anyone 've ever tried accessing a J4 file using .NET, please let me know. Also, if anyone can give a list of files that can be accessed in .NET program, please provide the info. Thanks. Carl Perry, Thanks for your reply. I already knew that jBASE have this kind of solution for the .NET developers and I'm sti ...Show All
Smart Device Development Windows CE5.0: unable to hide command bar!!!
I developed an application for critical healthcare that must run in fullscreen mode. Now I'm trying to migrate to Windows CE 5.0, but I can't hide the bottom bar (command or menu bar ). I already tryied various combinations of CCommandBar SHFullScreen SHFindMenuBar CommandBar_Show ecc... this issue will jeopardize the entire project. Hope someone can help me...... Sorry, this isn't an answer but more of a uh yea..... I've also ...Show All
Visual Studio package load failure in referencing external assembly
When my DomainModel project references (and uses) an external assembly, I get a package load failure. An example: - Create a new minimal language definition project - Add to your solution a class library project (ClassLibrary1), which will contain only the default project class (Class1) - Add a value property to any class in the domain model. Assign to the value property type a new symple type (namespace = ClassLibrary1, nam ...Show All
Visual Studio Team System Error 28100.Error loading Event web service.
Hi, During installation I got "Error 28100.Error loading Event web service.". Any idea what is going wrong TFS is being installed on a Virtual Machine. Please feel free to contact me if you need any more information. Thanks, Bart ps. Is it possible to upload the setup log I went back to some lessons learned when installing tfs beta 2, one of which was to install wss before sql server (even though ...Show All
Smart Device Development Problem Copying file to Storage Disk
I am trying to automatically back up a Pocket Access Database (*.cdb) to the Storage Card as the user is closing the application. I keep getting an error message saying that it cant copy the file because it is in use. I am closing the connection to the database, and it should no longer be in use, but am still getting the error Does anyone know what might be going on and how I might get around it FYI, I am using System.IO.File.Copy(path, ...Show All
Visual Studio How to? : (ReportViewer + asp.net + .rdlc + print button)
I s there a way to add a Print button to the ReportViewer control in an .aspx page when using .rdlc file Would the Print button displayed and enabled if I use remote reports(.rdl) instead of local ones(.rdlc) Response is very much appreciated. Thanks, S When i try to create a jpeg file, it gives me unhandled exception. Can you send me the code you are using for JPEG file conversion Thanks in advance. ...Show All
Visual FoxPro data grouping report form
dear all, i have a table field22 as Y / N value. I use data grouping to print receipt by printing Y then N. i wan my output similiar like this : - item qty u/price u/amt - Y details item qty u/price u/amt - N details But the problem now its print item qty u/price u/amt - Y let a gap that is reserved for group header details then print group header then ... My questions can i move out the spaces for ...Show All
