Software Development Network Logo
  • Game Technologies
  • Visual Studio
  • VS Team System
  • Visual Basic
  • Visual C#
  • IE Development
  • Smart Devicet
  • Microsoft ISV
  • SQL Server
  • Visual C++
  • SharePoint Products
  • Windows Vista
  • Windows Forms
  • Visual FoxPro
  • Audio and Video

Software Development Network >> Tylerk's Q&A profile

Tylerk

Member List

GMoulin
Mike737Aviator
drazvan
Saji
ZackL
KjellSJ
BigGuy
starLisa
Peter Bernhardt
pinoyz
Gert Christiansen
CJones1100
Fahad349
Mark 2334
Jan Kučera
TeamFlex
Julibalu
simon_
Prabagarane
Edward1
Only Title

Tylerk's Q&A profile

  • Windows Forms Mouse Wheeling

    So I've got this genious idea. The current issue, is that I require constant capture of the mouse wheel. My for is pretty much completely covered by various controls. What I want to know is, can I capture the mousewheel on the form level, even though the mouse might be over a textbox And secondly, what event gets fired off when I scroll my mousewheel Where can I add code to do something with the mouse wheel I figured that THAT would be the easiest way to do that. However, I have no idead HOW to call THAT procedure when the mouse wheel is actually moved... ...Show All

  • Visual FoxPro VFP7 COM+ object and ASP.Net 2.0 on IIS6 - Interop issue

    Hi,I wonder has anyone managed to get his/her VFP7 COM+ object run on ASP.Net 2.0 on IIS6 1. I compiled the object using MTDLL and deployed into my SBS2003. 2. I think this shouldn't be a security problem as I didn't manage to get it run even I have set the IIS6 worker to Local System. 3. The COM+ object has actually initialised. Codes in INIT method has actually run (I put CREATE TABLE ..... in the INIT method, and check if the table is created later), but when come to calling a method from ASP.Net, I hit an error. 4. Tried many possibilities, but no luck. I have also followed the example from Craig, got the same issue. 5. The same VFP7 class (but complied as EXE and configured as DCOM) was running fine on IIS5 ASP2.0 on Windows 2000 Ser ...Show All

  • SQL Server crossjoin problem?

    i need to calculated the number of participants during a specific period for a give club. the member table contains the following info: member id, club id, starting date, ending date, etc. i have created four named calculations: starting year, starting month, ending year, ending month. starting year and starting month are part of the hierarchy starting period while ending year and ending month belong to the hierarchy ending period. i defined a basic measure: count and a calculated measure: numberofparticipants. the calculated measure is defined as: sum(crossjoin([starting period].currentmember.parent.firstsibling.firstchild:[starting period].currentmember, [ending period].currentmember:[ending period].currentmember.parent.lastsibling ...Show All

  • SQL Server New install shows nothing when I go to http://localhost/reportserver

    I get a page that looks like a directory browsing page and it says Microsoft SQL Server Reporting Services Version 9.00.1399.00 at the bottom. Any ideas report manager URL should be http://localhost/reports you can also select "Reporting Services Configuration Manager" from the start menu -> "Microsoft SQL Server 2005" -> "Configuration Tools" to view your virtual directory settings. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Capturing the mouse

    Hi, I control my model with mouse. The problem is that when the mouse reaches the bottom of the screen, the model stops moving. How can I capture the mouse to make the rotation infinite (while I move the mouse to one direction, the model keeps rotating) Here is the code of the current mouse control: MouseState mouseState = Mouse.GetState(); x = mouseState.X; y = mouseState.Y; if (y > previous_y)             {                 modelRotationPitch += 0.01f;                 previous_y = y;         &n ...Show All

  • Windows Forms OwnerDraw TextBox

    I'm having a little problem here, with TextBox. As far as i understood, is pretty hard to create custom textbox, derived from textbox control, so, i need textbox, with little less borders, and with custom colors, anyway, how to make it, that my Custom TextBox have one border(Top) with custom color Any ideas Here start's the problems with TextBox. If you don't do: this.SetStyle(ControlFlag.UserPaint,true), OnPaint event isn't raised(Or PaintBackground), anyway, if it's raised, it's drawing not what supposed to draw. Font's becaumes strange. Anyway, found another solution, TextRenderer.DrawText(<...>), but it draws "TextBox" with a border. Any other solution . Thanks. ...Show All

  • Visual C# Storing Font data for use on other PC

    Hi all In my application special user fonts are used and have to be stored in a document. Later this document is printed on another PC, where those fonts are not installed. So I have to serialize not only the font description, but also the font data. How can this be done I tried it with the FontFamily object, but this class is not serializable. Reiner Obrecht Fonts in Windows are stored as TTF or FON files. You need to install these on the target machine. You can then serialize out the font data (family, italic, size, etc) and use it on the target machine. To distribute the font you can attach the font file as a resource in your assembly or add the file to your distribution program. Michael Taylor - 11/30/06 ...Show All

  • SQL Server Database Mirroring Transport is disabled in the endpoint configuration.

    Hi. I am getting this error. Msg 1486 , Level 14, State 2, Line 2 Database Mirroring Transport is disabled in the endpoint configuration. Someone please help me.It's urgent. I am using same PC with 2 different intsances. This is how i have done it: CREATE MASTER KEY ENCRYPTION BY PASSWORD = 'test@#56' GO -- CREATE CERTIFICATE PRINCIPAL_CERT CREATE CERTIFICATE PRINCIPAL_CERT WITH SUBJECT = 'PRINCIPAL CERTIFICATE' , START_DATE = '03/07/2006' , EXPIRY_DATE = '01/01/2010' GO -- CREATE ENDPOINT NAMED (EPMIRRORING) USING CERTIFICATE AND ALGORITHM CREATE ENDPOINT EPMIRRORING STATE = STARTED AS TCP ( LISTENER_PORT = 6025 , LISTENER_IP = ALL) ...Show All

  • Visual Studio 2008 (Pre-release) Glass on non-rectangular windows

    So I got glass working using the code here , and I got non-rectangular windows working using AllowsTransparency. Now here's the challenge: can I make a non-transparent glass window Thanks in advance, Rei When AllowsTransparency is turned on, you can not use DwmExtendFrameIntoClientArea since there is no frame. However, you can try using DwmEnableBlurBehindWindow and see if that helps your scenario. ...Show All

  • Visual C# Strange null reference problem within enum?

    Hi All, We've been having a strange problem. Recently we have seen null pointer exception coming out from our code. The exception trace is dead simple: Message: The run has errored with description: Object reference not set to an instance of an object. Object reference not set to an instance of an object. ------------------------- User: Source: mscorlib Server stack trace: at System.Collections.Hashtable.get_Item(Object key) at WGP.Adapter.IntToPrataEnum(String prataCode, String val) at WGP.Adapter.Curve.BuildCurves(Double[] date, Int32[] instrument, String[] currencies) ... Anyway what really strange is that the code in IntToPrataEnum method is dead simple and straight forward. As far as I can see, I couldn't find a single ...Show All

  • SQL Server Principal 64Bit- Member on 32Bit

    Hi all, I've got two VLDBs on 64bit hardware platform + 64Bit-W2003K Std R2 + 64Bit SQL2005 Std Edition. If I set this guy up as the Principal, can I have the standby/member on 32Bit HW + 32Bit W2003 Std + 32Bit SQL2005 Will this actually work Regards, Uday Shivamurthy Theoritically I don't see any difference or issue in setting up this way, http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1015569&SiteID=1 fyi. ...Show All

  • SQL Server Question about table relations

    Hi, before you read I'm sorry for bad English. I'm trying to create a website with asp.net 2.0 (VB.Net) and using sql server 2005.My project has created a database named "ASPNETDB" for itself and it's working fine with login controls and I added a table to that database and created two columns named "UserID" and "Example" linked the UserID in aspnet_Users table with the UserID in my table.When user logs in, I want to change a label's text to his UserID related "Example" data. ...Show All

  • SQL Server Merge Replication failure message

    I'm getting the error message below when trying to synchronise a sql compact database to a sql server 2005 db. Can anyone suggest a reason for this RDA works fine, permissions look ok. I've run process monitor and can see the IN/OUT files being created, no ACCESS DENIED messages etc. help! New Subscription Wizard - Beginning Synchronization (Success) - Synchronizing Data (100%) (Error) Messages Initializing SQL Server Reconciler has failed. Try again. HRESULT 0x80045901 (29045) The merge process could not initialize the message file from Subscriber 'D:\Inetpub\wwwroot\Sync\30.59FA6BD9893A_9BFA53BB-1D7C-4E84-967A-799C6FEBFCE3.IN:D:\Inetpub\wwwroot\Sync\30.59FA6BD9893A_9BFA53BB-1D7C-4E84-967A-799C6FEBFCE3.OU ...Show All

  • Windows Forms How to attach a context menu during runtime

    Hello everybody. Right now I am trying to create a small hotel program(similar to Room Master) What it is supposed to do is to create as many rooms(represented by buttons) as the user wishes. Also I have created a context menu with all the options on it what i want to do is to attach the context menu to every dynamically created button i've tried doing the following myButton.ContextMenu = this.contextMenu1; but it doesnt work then I've created the context menu inside the code, i mean like ContextMenu cntMenu = new ContextMenu(); cntMenu.MenuItems.Add("touch up"); and so and so I feel it is much easier if I can just attach already visually created context menu any ideas how to do this maybe if I create a reference(I dont know how ...Show All

  • Visual Studio 2008 (Pre-release) Dependency Property

    Howdy... I am a little stumped... a little tired... a little stupid (probably) I have created an object that has a dependencyproperty in it... all is well.. I create an instance of the object and do the business... no problems. When I go to create another instance I get this exception: System.ArgumentException was unhandled Message="'HeaderContent_1' property was already registered by 'Scene1'." Source="WindowsBase" StackTrace: at System.Windows.DependencyProperty.RegisterCommon(String name, Type propertyType, Type ownerType, PropertyMetadata defaultMetadata, ValidateValueCallback validateValueCallback) at System.Windows.DependencyProperty.Register(String name, Type propertyType, Type ownerType, ...Show All

©2008 Software Development Network