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

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

ahmedilyas

Member List

Graham Harris
Keithyboy1
MarkLawrence
Jay_Vora_b4843e
mohasad
Puca
Michael Gates
Dan Mikkelsen
StickyC
JohnJDB
Johan Nordberg
Suncho
xulei
kundalani
Ramanujam Sampath
jgd12345
Billy2005
ititrx
Predator14567
Maranello
Only Title

ahmedilyas's Q&A profile

  • Visual Studio 2008 (Pre-release) Using Scrollviewer and DragCanvas

    I have tried to use the following custom class ( http://blogs.msdn.com/llobo/archive/2006/09/06/Scrolling-Scrollviewer-on-Mouse-Drag-at-the-boundaries.aspx ) to try to get my objects that I have in my DragCanvas ( http://www.codeproject.com/WPF/DraggingElementsInCanvas.asp msg=1653438 ) to scroll when my dragcanvas is not all visible. Do anyone else have a solution for getting this to work <local:DragDropScrollViewer ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Disabled"> <Grid x:Name="MainGrid" Width="Auto"> <local:DragDropScrollViewer Grid.ColumnSpan="1" Grid.Row="2" Grid.RowSpan="1" ScrollViewer.H ...Show All

  • Visual C++ Insensitive edit control (MFC, VC2003)

    Hi, I created edit control but it can not handle any mouse events. For example when i hover mouse over the control, my cursor doesnt change to beam and when i press mouse button in control the message passes control and goes to parent window (caret is not move to place i pressed button). In modal dialogs i created, beam cursor appears and mouse button works properly, is this functionality implemented in dialog class insead of edit control Is it possible to turn on mouse advantage in edit without any subclassing, etc... This is how i create control: m_ctrlEdit.CreateEx(WS_EX_CLIENTEDGE, _T("Edit"), NULL, WS_CHILD | ES_MULTILINE | ES_WANTRETURN | ES_AUTOVSCROLL | WS_VSCROLL | WS_TABSTOP, rcEdit, ...Show All

  • SQL Server Newbie Advice Installing SSRS

    Hi, I've decided to install SSRS (2005) on my windows XP machine. I'm not very familiar with IIS (i'm currently using version 5.1) and I think between IIS and SSRS, i've managed to break something. I've been looking at various articles to try and get some clarity on my predicament. However, i'm not getting any joy with them.s I have located the logfiles (which I can provide). Unfortunately, I have no idea how to intepret the information contained therein. Can anyone help Many thanks in advance Clint Hi Sharmila, I have tried to answer your questions below: 1. I've restarted IIS 2. The configuration tool reports the service states in exactly the same way as my screen shot. 3. The report logs fr ...Show All

  • Visual C# Storing the row content in local variable.

    How I can store the data from the DataGridView to a variable in another form Form1 form=sender as Form1 ; System.Windows.Forms. DataGridViewRow row; row = form.dataGridView1..........; I was thinking something like this. Can anyone help me I don't understand! I get this code in Form1 And then what to type in Form2 And what I need to return from the dataGridView1 Becuse I cant just return the row. A answer is god, but can you little deeper show me the thing Ok everything is working except the line: return this .OrderuTabula; The error is:Error 1 Cannot implicitly convert type 'System.Windows.Forms.DataGridView' to 'System.Windows.Forms.DataGridViewRow' What I n ...Show All

  • Visual C# Passing generics as a generic parameter

    I have a generic class of a array which type is set by generics and a comment.of type string public class cValueArray <ValueType> { public cValueArray( int PeriodesCount) { Values = new ValueType[PeriodesCount]; } public ValueType[] Values { get { return this .values; } set { this .values = value ; } } private ValueType[] values; public string Comment { get { return comment; } set { comment = value ; } } private string comment; } Now I want to be able to pass this object to another object. This object should be able to get different typed of the ValueArray so it should be possible to pass cValueArray<double>, cValueArray<string>, cValueArray<int> and so ...Show All

  • Visual Studio Express Editions SQL database connection

    I've just downloaded VB 2005 Express and SQL server 2005 express. Built SQL database and trying to connect and open DB.I was trying different connection strings, OLEDB and SQL connections,reinstall Sql server and VB, but have the same massage:"Cannot open database.Login failed". When I bind DB in application, everithing is OK.First guess that something is missing in the code.But maybe Express Edition is not capable to deal with SQL DB Public p_conFirst As New SqlConnection() p_conFirst.ConnectionString = "Server=bk\;SQLEXPXESS;Database=First;Trusted_Connection=True;" p_conFirst.Open() 'error 4060 Maybe somebody has answer Thanks,Boris Change th ...Show All

  • Visual Studio How can i delete everything from a destination directory?

    Hi folks, i've got a pretty simple MSBuild proj file working. It was a Web Deployment project which i've tweaked slightly to zip up the web site code and then copy the web site code to our development web server. all works fine. What i'm trying to figure out is how can i delete EVERYTHING from the development web site folder before i do a copy over eg. \\DevWebSiteComputer\WebSiteShare That share folder has some files in it and some folders with files in it (eg. \images, \bin, etc). How can all that be deleted, please Hi folks,    thanks heaps for the replies. :) 1. @ Dan :: Didn't steve do that in his example above I can't remove the root directory becuase that is the share folder on the network. I ...Show All

  • SQL Server Create calculated column programmatically

    Hi, I wish all the best for the new year. I encounter a serious problem with creating a named calculated colunm programmatically to the table of a DSV of an analysis database. I would like to create this named calculated column by means of VB but any help in C# is acceptable. I can created this column in Microsoft Visual studio design but I need to be created programmatically now. Thanks in advance Best regards, Manolis There's a topic in Boosk Online (I'm looking at the July 2006 update version) that goes through an example of creating a DSV programmatically. Part of the example adds a computed column to a table in the DSV. I think you can probably study this example and adapt it to your needs. Here's the link in BOL: ...Show All

  • Visual Basic COM Object BeginInvokes at Program Close?

    We're writing a program where we have a COM object that is created and used several times through the runtime of the program. I'm finding, though, that I get this bizzare error after closing the program. I've verified that this error comes after an Application.Exit() call, and the stack trace doesn't involve any of our code, so I have no idea how to diagnose this (if I could just supress it, I'd be fine, since the program can finish closing after I hit F5 when the exception comes up in the debugger). Yeah, I had tested that and it didn't change it, but... I found when I was digging through some of my collegues code that he wasn't disposing of a dialog that had a COM object on it. We didn't think much of it at the time, probably, because w ...Show All

  • Visual Studio Tools for Office Long running Working VSTO application RIP

    Problem I have a VSTO application fully working and actively used since March on a consumer's desktop. Recently the VSTO application, an Excel document with the VSTO custom Action Pane using Remote assemblies has failed on that desktop. Yet works on another computer as well as my development machine. The problem manifests itself as if the machine does not have prerequisites for VSTO installed. I get the cannot find File or assembly name Microsoft.VisualStudio.Tools.Applications.Runtime and the Action Pane never comes alive. The only thing I can think of is that the user installed a third party add-in to Excel and that may be blocking...but it shouldn't..... Any Thoughts See actions tried so far. Factors File or assembly name Microsof ...Show All

  • Visual Studio Express Editions Setting up arrays

    hey Guys me again, One more question, in visual basic 2005 express edition how do you establish and set up an array when you want to link many text boxes to the one button... again i have the old book that tells me how to do this but i need the new code as the old is not working.... Thanx heaps for the help guys Newb it depends entirely on what you are trying to do. Lets go with the example of storing the entries from textboxes to an array. you can use an ArrayList for example to store items in the array and retrieve them via the index, and remove/add items, however in order to access them from anywhere within the class, you need to make it a private global scope (Declare it at the top of the class). Example: ...Show All

  • SQL Server There is no direct equivalent to Oracle's rownum or row id in SQL Server

    hi, There is no direct equivalent to Oracle's rownum or row id in SQL Server there is any possiblity are alternate thing is exist then please reply regards santosh I want to add SQL SERVER i) Having uniqueidentifier datatype, which we need to add manually as ROWID uniqueidentifier NOT NULL DEFAULT newid() this is unique in the whole database as of GUID. II) Having timestamp datatype, which we need to add manually as ROWID timestamp in the first option the GUID remains constant, but in the second case the timestamp changed whenever the update command is executed for that row. ORACLE i) ORACLE dont need these things, it having Pseudo coloumn called ROWID. this is ...Show All

  • Visual C++ This code snippet makes no sense...

    I've come across some code syntax I've never seen. It compiled, but I don't know how, or what it even does! I've been reading a book about DirectX, and in one of the examples, this little piece of code was present: D3DXMATRIX *D3DXMatrixIdentity(D3DXMATRIX *pout); "D3DXMATRIX" is a type, of course. And "D3DXMatrixIdentity" is a function, of course. Now I don't see how this works. Okay, to break it down, first we have a type, which is D3DXMATRIX, then we have the indirection-operator (which I assume is a pointer), and then we have a function (perhaps a call) with a new D3DXMATRIX (pointer) as it's only parameter. How the heck does this work It isn't just a regular function-call. It isn't a function-call that' ...Show All

  • .NET Development error 1635

    i am getting 1635 error microsoft.net framework when i try to install sky on my computer dos anybody now the ans please help Error 1635 means that there is a problem accessing a patch package. Normally, that means that you already have the .NET Framework 2.0 installed along with a hotfix and it is attempting to repair it but it cannot find the source files to repair the hotfix. Can you please try to uninstall and reinstall the .NET Framework 2.0 to see if that resolves this issue If you'd like, you can use the cleanup tool described at http://blogs.msdn.com/astebner/archive/2006/05/30/611355.aspx to automate the uninstall of the .NET Framework 2.0. Hope this helps.... Thanks! Aaron ...Show All

  • SQL Server Getting Error in 32bit DTEXEC on 64bit machine

    I'm getting will not acquire a connection because the package OfflineMode property is TRUE. When the Offline Mode is TRUE, connections cannot be acquired." I'm running the 32bit DTEXEC on a 64bit machine since I'm using the Jet provider. I see in the forum and other places that this error usually occurs when you try to run in 64bit. I don't get this error when I've tried it, running the 64bit DTEXEC or when I run from BIDS on a 32bit machine. Any help appreciated. David The error is misleading. Two possible solutions. 1) try reinstalling the client tools. 2) Use package configuration to force System::OfflineMode = False </DTSConfigurationHeading><Configuration Configured ...Show All

©2008 Software Development Network