chire's Q&A profile
Windows Forms richtextbox
hi, i want a button in my richtextbox how can i add that to it .. ...Show All
Visual C++ Again on: How to solve .__dtor link error in MS VC++.net 2003 for codes that work in VC++ V6?
Hi, Seems that my post on "How to solve .__dtor link error in MS VC++.net 2003 for codes that work in VC++ V6 " was lost. Here is it roughly again ================================================= I downloaded some open source c++ code from http://www.coin-or.org/ In the MS Visual C++ .NEt 2003, I set up a project (TestCLP5) with a file with int main ( int argc, const char *argv[]) Then, On the tools\options dialog window, I&n ...Show All
Visual Basic VB 2005 Class Designer
I have created a Class in the Class Designer and it includes a private field called 'Country' that will contain the relevant country name e.g. UK, Italy,... I want the Country Names to be contained in a Collection which I would normally declare as Dim Countries as new Collection() If I do this in the class code the designer does not recognise 'Countries'. Is there a way of declaring the Collection class on the designer pane Many than ...Show All
Architecture Data Modelling Tool in Visual Studio 2005
Is there any data modelling tool / feature available in Visual Studio 2005 Hi Amit, There are no DB modeling tools available in VS 2005 however you can connect to DB from VS and create tables etc. If you are looking for tool support like Erwin or PowerDesigner the closest thing Microsoft has is Visio for Enterprise Architects where you can use the Entity Relationship model (ER) and Object Role Modeling (ORM). Visio fo ...Show All
Windows Forms Reading from MS Word tables with .NET
In my project I need to get data from MS Word tables and insert it to database. I found on the net how to open word document to get tables. But when I start to read table row by row it gives me an exeption 'Cannot access&nbs ...Show All
SQL Server Getting a Variable that has a SELECT statement to Return Results
I have concatenated a long Select Statement and assigned it to a variable. (i.e.) @a = Select * from foo ---Obviously mine is much more robust How do I execute @a to actually Select * from foo You can use exec (@a) If @a is nvarchar rather than varchar you can also do this exec sp_executesql @a ...Show All
Visual Basic Singleton Pattern - Shared/Synclock confusion...
Given the code below, I am trying to implement a "double-checked" constructor for a singleton pattern essentially.... What has me confused is how I should handle my locking. In examples I found it often showed the simple "SyncLock Me" approach to lock a section of code. When I try to use this in VB.NET 2005 (Beta 2) I get an error stating that Me isn't allowed for non-instance members. In this case, using a shared co ...Show All
Windows Forms OnVisibleChanged quagmire
I have a control that is becoming nonvisible and I cant seem to find the source. What I thought would be an easy problem to solve by hooking the OnVisibleChanged event, turns out to be a confusing and difficult problem. Hooking the controls OnVisibleChanged event did not allow me to determine when the control was being hidden. In fact, the event never fired (and the parent is visible). I understand a bit of the background that child controls do ...Show All
SQL Server Package Execution with SQL Server Agent or DTEXEC
Hello, I want execute package with SQL Server Agent. I create a job and I try all the solutions : my job doesn't want to work. I success to launch the package but the execution failed. I try the same job launching from the server : it doesn't work either. So, I copy the command line (/FILE, /DTS or /SQL) and with DTEXEC utility it works when this command is executed on the server (on a client computer, the problem "the product l ...Show All
.NET Development FTPWebRequest and the 'dir' command
I have a project that I am working on to ftp files back and for between some robots. The people that made the controller changed the ftp server type and so half of the servers understand the 'list' command when trying to do a file list, and the other half just puke because they do not understand the command. Is there any way to use the 'dir' command with the FTPWebRequest methodes Steven If the servers ...Show All
Visual Studio Team System Workspace folder mapping bug?
I have a directory at C:\Projects\Foo\Src\Runtime\EncryptionLib\UnitTests that I branched to location $/Foo/Branches/Developer/hillr/Exp_UnitTests. I then try to cloak $/Foo/Src/Runtime/EncryptionLib/UnitTest and then map $/Foo/Branches/Developer/hillr/Exp_UnitTests/UnitTests to C:\Project\Foo\Src\Runtime\EncryptionLib\UnitTests. VSTS gets confused. When I edit files in the UnitTests dir in this worksapce they are rea ...Show All
Visual Studio Team System Small Team ISV / Micro-Isv
While the templates out there seem very nice, they don't seem to be a good fit for a small/micro-isv senerio. They seem better suited for larger IT teams. One example are "rolls", they all list more rolls than employees in our company. :) With this in mind I think it best to just build my own template from the ground up. But before I go off an do this, I was wondering if anyone else has already build a workable template (or maybe is ...Show All
.NET Development Bilding a .Net Windows Service
If this is in the wrong place Sorry! I am new to VB windows development. I have 7 years in Classic ASP and 3 in ASP.Net (including web services). However, I have now been tasked with turning some VB6 windows Applications into .Net Window Services. Can any one out here tell me where to find information on this the knowledge base is pretty sketchy for windows services though I can find more than needed for web services. ANY hel ...Show All
SQL Server Recover data from .mdf and .ldf file?
Hello! Hopefully someone can help me with the following (potentially huge) problem: We've got a simple database application running on microsoft sql desktop engine. This database contains two tables. Up until now all worked fine, but probably due to a programma that crashed part of the database seems to be corrupted or broken while today only one table contains/returns data and the other table does not return any values! When I open the ...Show All
SQL Server SQL Express
Tables in SQL Express not saving updates from VB 2005 Express forms. Temporary tables are staying updated until program is exited, but not updated to the SQL datadase tables. I Have completely uninstalled all the express software including .Net 2. Any answers. Is this a WinForms application Are you using DataSet or DataAdaptor to connect to sql Are you commiting the transaction You need to provide a lit ...Show All
