MikeWakefern's Q&A profile
Visual C# :p
[code] [DllImport("user32.dll")] public static extern void mouse_event(long dwFlags, long dx, long dy, long cButtons, long dwExtraInfo); public const int MOUSEEVENTF_LEFTDOWN = 0x02; public const int MOUSEEVENTF_LEFTUP = 0x04; public const int MOUSEEVENTF_RIGHTDOWN = 0x08; public const int MOUSEEVENTF_RIGHTUP = 0x10; public void LeftClick() { POINTAPI mousexy = new POIN ...Show All
Visual Studio Express Editions Synchronising DataTables, DataGridView so that Relationship constraints are met.
Despite my best efforts I still haven't been able to get a full understanding of when and how changes to a DGV are reflected in its associated table. I have two tables declared as follows: private Plutus_DAL. PortfolioCRUD PortDAL; private investmentDataSet . InvestmentTypeDataTable itdt = new investmentDataSet . InvestmentTypeDataTable (); private investmentDataSet . InvestmentInputTypeDataTable iitdt = new investmentDa ...Show All
Visual Basic Access COM+ objects remotely
Hi, I need some help to find out how to access a com+ object remotly from client using vb.net. I exported the server component as an application proxy.In the client machine I tried to install the component as a proxy. But actual server component (dll and tlb )also goes to the client machine . Still I could not create an object using createObject (vb.net). My com+ component is vb.net . Is there alternative way to access com+ obj ...Show All
SQL Server SQL 7 [DBNETLIB] 2147467259(80004005) [Connection write(send()),] General Network Error
HI all I am facing a problem on sql server 7 Desktop Engine with front end VB6 and ADO 2.8 my OS is windows 2000 Professional. ie. I am doing appendchunk to add image files on SQL Table it works fine for Approximately 130 MB, But i am trying to add 249 MB size file it will be showing these error Message. [DBNETLIB] 2147467259(80004005) [Connection write(send()),] General Network Error check your network documentation. I do so ma ...Show All
Visual C# Windows Look and feel
I'm developing a windows application and I want my interface to have that windows look and feel. I tried changing the background colors, but i did not get what I really wanted (You know the way Microsoft word 2003 looks [the bluish look and that glossy feel] or the way this forum looks like). I also want to change the background of the menu bar and the menu items to get the same windows look and feel. Lastly, I want to add icons to th ...Show All
Windows Forms Getting the path of a class library
Good day, Can anyone tell me how to get the path of a dll from within the dll I've tried variations on the following, but they return the location of the calling Assembly instead of the actual dll. System.Reflection.Assembly.GetExecutingAssembly().CodeBase; System.Reflection.As ...Show All
Visual Studio Express Editions Problem with docking
I used toolstrip to make a toolbar, and i am trying to create it along the same lines as the old MicroSoft Office Desktop Toolbar, but cannot find how to dock the toolbar to the side of the screen. Any Help please Jeremy Try using ToolStrip s = new ToolStrip (); s.Dock = DockStyle .Left; s.Dock = DockStyle.Right; ...Show All
SQL Server ORDER BY error
Hello, in a complex stored procedure, i get an error when i want to apply an ORDER BY statement : Here is a part of this Stored Procedure : SELECT TaOperations . Id_Operation , TaOperations . HeureDebut , TaOperations . Signe , TaOperations . Facturer , TaOperations . IdUserVerrou , TaOperations . Id_Client , TaTypeOperation . Facturable , CONVERT ( CHAR ( 10 ), TaOperations . HeureDebut , 103 ) + ' - ' + TaTypeO ...Show All
Windows Forms Customizing TableLayoutPanelDesigner
Hello, I'm developing a custom control that is to be used in a custom forms designer that I created. The control should have exactly two cells behaving like cells in a TableLayoutPanel, so I thought I'd build my control as an extension to TableLayoutPanel. Now I need to customize its designer, since I do not need all the design-time options that TableLayoutPanelDesigner offers. Problem is: TableLayoutPanelDesigner is an internal class, and ...Show All
Visual C# Send mouseclick event to webbrowser control
How do I send a programmatical (non-physical) mouse click to a web browser control at specified coordinates Is it possible to hide the control while performing these clicks Thanks for your reply. I had a look at those links and they seemed quite complicated for what I'm trying to accomplish. I have a basic Windows form in Visual C# 2005 Express. On that I have a WebBrowser control which starts of at a U ...Show All
Visual Studio Team System Distributing Rights in Windows Sharepoint Services
Good day, How can I distribute rights in WSS to usergroups. I want to to give usergroups the same rights on the WSS homepage like in the active directory how can i do this thanks a lot teambuild You may want to try Mike Attili's approach for setting up permissions in TFS, WSS, and Reporting. Unfortunately, you must set the permissions separately in v1. http://www.amaxo.com/blog/archives/2005/04/simplify ...Show All
Windows Forms Windows Forms Designer Bug?
I created a custom combo box which extends the standard Windows Forms combo box. In the constructer (Sub New), I set certain properties such as the Items collection. For example: Option Strict On Public Class ClientCategoryComboBox Inherits ComboBo ...Show All
SQL Server Restrict User Access in MSSQL 2000
Hi, I have few SQL user who has permissions on different databases. When they are accessing MSSQL server from Enterprise Manager they can see all Databases but can not access them and they can change file size allocated to them. I want to restrict this and they can only see database belongs to respective user and restrict user to change allocated size. Please help me with this as I am not able to find the solution. Thanks & Regards, ...Show All
.NET Development system.objectdisposedexception
Hi, I have a multithreaded application that crashes with the following msg in event log ... EventType clr20r3, P1 smartserver2005.exe, P2 1.0.0.0, P3 43f6cc52, P4 system, P5 2.0.0.0, P6 4333ae87, P7 3ad8, P8 a5, P9 system.objectdisposedexception, P10 NIL. I have provided try catch block in all routines in the code & still the appl crashes with the above msg. Note that crash is not consistent for a particular se ...Show All
Visual C++ Internal manifests vs external manifests
I am converting a straight Windows MFC app from VC6 to VC8. The app has 2 exe files and about 75 DLLs. It looks like manifests are a new concept I need to deal with. I've been reading a lot about them at the MSDN site and in these forums. But I haven't read about the advantages/disadvantages (or requirements ) of having the manifest embedded in the EXE/DLL versus having them in external files. Having them ...Show All
