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

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

Ali52

Member List

Tryston02
Vaish
mcrisf
mobigital
BryanMiller
Tiny Pan
Wayne Arant II
Bartley
feby
tolily
pappascd
xkx32
Manish.Garg
Kayda_SQL
ofir
reb1577
braz
Colin Whitlatch
Lawrence Parker
freddieb
Only Title

Ali52's Q&A profile

  • Windows Forms Docking strangeness

    Hi, I have a form with one panel containing a label and combobox, and a third-party grid. The grid should fill all the available form apart from the panel at the top with the combobox. But for some reason no docking style combinations seem to support this. pnl.Dock=DockStyle.Top, 3rdGrid.Dock=DockStyle.Bottom / Fill, setting the 3rdGrid's location just beneath the panel etc... Nothing seems to work as expected. Anyone any pointers 3rdGrid.Dock=DockStyle.Fill If the above code doesn't work. Set the 3rdGrid.Dock to NONE and used the Anchor property instead. Anchor the grid to all corners. ...Show All

  • Windows Forms Form wont BringToFront

    Howdy, I have a notify icon that opens a window. To open the window you can either click 'Open' in the icons context menu or just double click on the icon. The menu option is fine, but whenever I use the double click feature, the window opens but doesn't come to the front and doesn't have focus. It must be something with the second mouse click releasing focus but I have no idea how to right this. Any suggestions Both events (the menu click and the icon double click) rasie the following event: Private Sub itmOpen_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles itmOpen.Click, nfyNotify.MouseDoubleClick Me .WindowState = FormWindowState.Normal Me .ShowInTaskbar = True Me .BringToFron ...Show All

  • Windows Forms Customise User Control

    I have four toolbox components that I "habitually" add to classes that derive from UserControl, and I'm thinking of adding two or three more - these are non visual things that reside in the component tray. What I'd prefer to do is to create a new UserControl base, with my components built in as properties. Can anyone point me in the direction of information of how to do this. I've tried putting a Control together with a Design Surface and a few other things . I'd also appreciate any recommendations on any books that cover the "Designer" elements of .NET. Thanks PhilD if the said components are properties of the usercontrol, are you expecting 8 instances of these on the compone ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Texture2D and Animated GIFs

    I was following the getting started tutorial from help where you load an image file using Texture2D.FromFile. I didn't realise that the image I was using was an animated GIF and it wouldn't load. I get this error: System.InvalidOperationException was unhandled Message="An unknown error has occured. The result code was -2005529767." Source="Microsoft.Xna.Framework" StackTrace: at Microsoft.Xna.Framework.Graphics.Texture.GetTextureInformation(String filename) at Microsoft.Xna.Framework.Graphics.Texture.GetCreationParameters(GraphicsDevice graphicsDevice, String filename) at Microsoft.Xna.Framework.Graphics.Texture2D.FromFile(GraphicsDevice graphicsDevice, String filename) at WindowsGame1.Game1.LoadResour ...Show All

  • Visual Studio Unable to install GAX June CTP - States Visual Studio 8.0 is not installed

    I have the team system developer version of Visual Studio 2005 installed. However when I run GuidanceAutomationExtensions.msi I get this message: Visual Studio .NET 8.0 is not installed. Do you want to see information of the product Click Yes to be directed to a web page, click No to exit. Thanks I am using XP Professional SP2 and it is the English version. NOTE: I thought that the Linq (Orcas) CTP I installed (VS9) might be conflicting so I uninstalled it. This did not help. Thank You ...Show All

  • SQL Server move logins from a sql 2000 server to a sql 2005 server

    Hi guys, I have tried to use the sp_help_revlogin script to move logins from a sql 2000 server to a sql 2005 server. It works for users that have a password. But if the password is blank it will fail. Is there a work around for this since I can't change the users passwords I have also tried SSIS package but that too doesn't work because of the same reason. Can anyone help... ...Show All

  • SQL Server buffer is full

    All, My weekly loading is failed and here is the error message I got. Could someone kindly point me what is the problem and how to detail with it Thanks Error: 0xC0047012 at Fact_ResidentService, DTS.Pipeline: A buffer failed while allocating 63936 bytes. Error: 0xC0047011 at Fact_ResidentService, DTS.Pipeline: The system reports 43 percent memory load. There are 4227104768 bytes of physical memory with 2378113024 bytes free. There are 8796092891136 bytes of virtual memory with 8787211939840 bytes free. The paging file has 10300792832 bytes with 14786560 bytes free. Error: 0xC0047022 at Fact_ResidentService, DTS.Pipeline: The ProcessInput method on component "Union All 1" (3629) failed with error co ...Show All

  • Visual C++ Couple of Errors

    I hope that for once that Microsoft may release something that isn't riddles with bugs, but it seems that will never happen... Now, onto errors... - Error "Object Required". Here's what I did. Using an MFC App project, I renamed the dialog IDD_OPTIONS to IDD_OPTIONS2 and renamed the class it was associated with COptionsDlg to COptionsDlg2. I created a new dialog, copied the IDD_OPTIONS contents to new dialog template. Renamed new template to IDD_OPTIONS. Got an error saying IDD_OPTIONS2 was already in use. Opened resource.h file and deleted IDD_OPTIONS define. Tried again and it works. Now try to assign it a class, COptionsDlg. I get an error saying "Object Required." - Unresolved symbol. I was simply building a project ...Show All

  • SQL Server After editing rsreportserver.config, new values don't take

    I edited the rsreportserver.config file to set SendEmailToUserAlias to False. After saving it, and even restarting Reporting Services, the value doesn't seem to take. I log in as a user who has "Browser" security rights. The "To" field in the subscription settings is still set to the username instead of allowing me to edit. What do I need to do to get the new values to hold. Thanks, -Lori ...Show All

  • Visual C++ performance Comparison between C++, C# and COBOL

    Hi everyone, Currently our company is in the process of converting from a mainframe environment to PCs. As a pilot we took an application that processses about 5 million rows with about a record length of 7000 bytes the stats were amazing C# it took 3 minutes 17 seconds, C++ (native and not .net) 1 minute 28 seconds and believe it or not the COBOL program took only 45 seconds. The program has a simple read of a record, process few business rules and replace certain bytes in the string and write back to a new file. I expected C++ to perform better. does anyone has any idea why the COBOL program performed better than the C++ program. The data files were the same, the logic were the same, the machine it was executed was t ...Show All

  • Smart Device Development How to change the icon for folders in ActiveSync?

    hi, The problem actually is, when I use File Explore go to my handheld, "My Windows Mobile-Based Device", When I browse the folder like Build-in Storage, Temp, Windows, the icon for folder somehow get changed to exe icon . I tried to re-install ActiveSync 4.0, but still did not fix it. I tried to install 4.2, but sometimes, it does not work for my X51 which is WM5.0. I think there must be some registry for it, but, don't know where it is. Any input are appreciated. Thanks. This forum is smart device development related. Since your question is not related to smart device development, it's off topic here. If you’re having a hardware issue, please contact hardwar ...Show All

  • SQL Server SQL SERVER SETTINGS

    When SQL Server and Web site are both on same machine, it runs fine, can get data and display in web page. but when trying to get data from remote SQL Server, it gives error. What's the setting for SQL server configure and security settings in different versions MS SQL 2000 | MS SQL 2005 ============================================== Framework 1.x | Framework 2.0 | Thanks alot. Please provide some setting help for the The SqlException associated with the "Error 40: cannot connect to remote sql server" message contains a SqlError collection called error. What is the Num ...Show All

  • Visual Studio Express Editions Toggle readonly property with button

    I used the following code to change the textboxes in my form from read to read only etc with a button. (Thanks Spotty) Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click For Each c As Control In Me.Controls If TypeOf (c) Is TextBox Then Dim currentcontrol As TextBox currentcontrol = c currentcontrol.ReadOnly = Not currentcontrol.ReadOnly '//Toggle readonly '//Change Formatting If currentcontrol.ReadOnly Then currentcontrol.BorderStyle = BorderStyle.None Else currentcontrol.BorderStyle = BorderStyle.FixedSingle End If End If Next End Sub I would now like to do something simi ...Show All

  • Visual Studio ReportViewer Calendar Popup javascript errors

    I'm having problems using ReportViewer to display a server report with a date parameter. If the page is contained within a master page, simply clicking the button to bring up the calendar causes a javascript error: Object Required when attempting to call ToggleVisiblity Is there a workaround to this other than not using a master page After further investigation, this has nothing to do with master pages but the fact that the report viewer is contained within a container styled as position:relative. It seems that the control needs to determine the offset to display the div containing the calendar in the correct position. ...Show All

  • Visual C++ to check the correct state of checkbox control

    Hello Sir, i want to check the value of check box control whether it is checked or not and on the basis of this want to take some actions. i have taken a check box control and using MFC ClassWizard, i have mapped the control id value to a variable (bool). but on the check/uncheck event of checkbox control, when i check the value of variable, it is always in false state. How can i check the correct state of checkbox control(checked or unchecked) Thanks and Regards Munish Gupta Please use the newsgroups for MFC questions: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.vc.mfc&lang=en&cr=US This forum is for C++ language issues only. Also, please use descr ...Show All

©2008 Software Development Network