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

Software Development Network >> ehsan sadeghi's Q&A profile

ehsan sadeghi

Member List

IanR
Alex Ivanoff
Tailor
thanksforhelp
johnny83
briendjf
aaks
bonni
Tim Droz
robinjam
JSastre
Asif Hameed
OscarKwok
MikeHiland
woodheadz
Loki70
mathmax
thunderchild-ib
keithy02
Rakesh Luhar
Only Title

ehsan sadeghi's Q&A profile

  • SQL Server Aggregate() doesn't aggregate over an expression

    We use CTP3 of SQL Server 2005 SP2. We have the following scope expression Scope ( [Date].[Calendar Year].[Calendar Year].Members, [Date].[Month].Members ); ( { [Measures].[Profit YTD] } ) = Aggregate ( PeriodsToDate([Date].[Calendar].[Calendar Year], [Date].[Calendar].CurrentMember) , StrToMember(Extensibility.Replace([Measures].CurrentMember.UniqueName, " YTD", "")) -- remove " YTD" suffix to aggregate over the corresponding standard measure ); Format_String ( This ) = "Currency"; End Scope; However, Aggregate() essentially bypasses the call to the SSAS stored procedure (Extensibiliy.Replace is a custom SSAS stored pr ...Show All

  • SQL Server MSSQL Express 2005 performance so inconsistent!

    Hi, just wondering if anyone noticed the MSSQL Express 2005 is so inconsistent with its performance. I was testing out a query with 2 joins, with the main table having about 13,600,000 records. With the same criteria value, sometimes it finished executing in 3 secs. sometimes almost a 1 min. Could it be just the volume of the data This is really driving me crazy! Any advise will be greatly appreciated. Rick.. Hi, I took home the database and loaded it up in my machine this weekend. I think the inconsistency I as experiencing at work has something to do with my machine setup. In the office, my PC has WinXP 64 Pro. At home I have just the plain WinXP Pro. Running the same scripts/SP at home were m ...Show All

  • Architecture Design Patterns & Best Practices

    Hi All, Is'nt good if we can start discussing some good practices for Design Patterns Implementation (Adding to P & P Best practices documentation) using .NET and other MS Technologies Thanks Sudhakar Hi, can anybody explain about usage of Bridge pattern and Adapter pattern in c# dot net 1.1 Thanks in advance ...Show All

  • Visual Studio Express Editions ildasm

    I am having troubles how to make ildasm work with visual C# express. How do I get it done. Also my command line will not recongize csc files. What is wrong in regards to the last question, by default the environment path is not set to the path of the C# compiler, csc. The path is located here: C:\Windows\microsoft.NET\Framework\v2.0.50727 this is the path where csc exists. You can then use this to do whatever it is you like to do :-) You can even set this path in the system environment path so everytime you boot up your computer, and you type in "csc" it can then automatically look through its list of environment paths to look for that command/file and if you put in the path to the file ...Show All

  • Software Development for Windows Vista How to start process in session before user logs on?

    I have a need to start a process in a session before the user logons on. On XP I used a Windows Logon Notification Package to do this. When a new session was created, Winlogon.exe in that new session called my WLNP and it was able to start the process before the user logged on. The process is used to support smart card logons for that session. I'm trying to find out how to do something similar on Vista. I know logon notification packages are no longer supported. I know how to write a service to get session creation notification, but I don't know how to start a process in the new session before the user logs on. Is there a function I can use to start a process in another session If so, I could have my session tracking sevice start th ...Show All

  • Visual C++ question posted on my blog

    Hi all, Somebody posted this question to my blog - quite unrelated - so I'm forwarding it here - I will notify the poster and direct them here as well. thx /*-----------------------------------------------------------*/ Saturday, November 11, 2006 2:27 AM by longwood12345 My email is longwood12345@hotmail.com. I can't post to the MSDN forums because the site has so many problems. Can you please explain to me why the program below doesn't work The program compiles fine, but I get "WINVER not defined. Defaulting to 0x0502 (Windows Server 2003)" during the compile. I am using MS Visual Studio Prof 2005. Thank you. #include "stdafx.h" #include <afxinet.h> int _tmain(int argc ...Show All

  • Visual Basic Tracking keyboard (In)activity

    I am writting some code to help me track when user activity is not going on on a computer and I've been having a big problem getting it right. Not an event that will be trapped by a windows control. I've been able to get it right for mouseactivity, (just movement and not a button press though.) I used windows.forms.cursor.position to track a change in it's position. But I've not been able to get keyboard activity right. Can someone please help.I'm using VB2005 express edition. Thanks DMan1, I want to believe this technique you suggested will mean a form displayed has focus before it can recieve the keydown event which is not what I want. I actually want a windowless situation, the form may be loaded but mus ...Show All

  • Microsoft ISV Community Center Forums VBA Userform Control of multiple userform controls

    I have built a data entry VBA application in Excel so we can input data electronically instead of manually on paper only. I created a series of Userforms to display one at a time to "walk thru" the test procedure and allow entry of the data for one section at a time. The problem I have is that I am trying to use the standard form controls "frmTest.Hide" or "Unload Me" when done with the forms. Then if I wish to redisplay one or more of the forms for re-entry use "Load frmTest" and/or just frmtest.Show if old form just hidden. I am seeing that the old forms are not hiding or unloading and worse when I try to redisplay with either the "Load frmTest" if previously unloaded and "frmTest.show" I get a VBA error that it cannot display ...Show All

  • Visual Basic Can i create pdf file with VB.NET 2003 without any third-party tools?

    Hello guys and girls! My subject is my problem..that i will explain better now: I have a database with saved imagepath, now i want to create a report with those images. I've tried the Crystal Report solution but only XI have the Graphic Location option and i ’have the 8.5 version so forget this way. Other option is to compose a word interop document and insert those images...but...the instalation computer must have Word installed (i think). So...can i create a pdf file with those images Or anyone with another way Thks in advance for your help! You'll need a 3rd party tool to do this, trying to do it yourself is pointless. If you don't want to pay for it (lots of competition = l ...Show All

  • Visual C++ I have a vc project,why can not i produce a browse information file .bsc ?is it my vc problem or the problem of this project?

    I have a vc project,why can not i produce a browse information file .bsc is it my vc problem or the problem of this project I thought so. I'm afraid VC6 support has ended, and VC6 questions are off topic in this forum. I recommend www.codeproject.com as an alternative. FWIW, VC2005 Express is free, although it does not suport MFC, and I'm pretty sure it doesn't require generation of browse info, it just works. ...Show All

  • .NET Development Calculated Column --> Using Custom Aggregate

    I would like to create a calculated column that aggregates string values from a child table. Can someone point me in the direction of creating custom aggretagtion functions that can be used in the dataset designer (as opposed to sql server 2005 which is the only information I can find). What I want to do is something like this: Table: Person Table: CarOwners Table: CarModels Person can own many different CarModels CarModel can be owned by many different People I would like to have the dataGridView show the Persons details along with a comma delimited column Listing the models of cars he/she owns.  Then when the user clicks on the calculated column I will launch an editing form to manage the many-to-many relationship. Thanks ...Show All

  • Visual Studio Calling project method within VS IDE from an Add-In

    Hello, I've designed an Add-In that parses and displays VB Project Methods in a treeview using extensibility. The VB project scan its own assembly to retreive its own methods and displays them in a treeview. I can run a method within this project using the "InvokeMember" method by double-clicking treeview nodes. This project knows VS 2005 instance it lives in. The executed method is in the IDE as when I put a breakoinp in method code it stops where the breakpoint is set. What I would like now is to call VB Project methods by double-clicking on Add-In treeview method's name, then execute the method within the IDE. The only mechanism I can think of so far is to fire an EnvDTE event from the add-In whe ...Show All

  • SQL Server with ssis :flat file importing data problem

    Hello, I have a problem with some in a file. when i excute ma package to import data with my *.cvs file ssis bloqued le data flow in the line number 1042 and output this error : column delimiter note found for the column 50 wich is the last column . How can i resolve this probleme please. Thanks all totocasagrandi wrote: i think that for some lines i haven't the correct delimiter in the end of row Correct - you haven't. That's my point - this is bad data. You should work to fix it rather than try and compensate for it. -Jamie ...Show All

  • Visual C++ Best approach for IPC...? Confusion about what to use...

    Dear all I have been thinking the last few days of a best way to achieve this task: I have two pieces of software. They are both independent application and are final products.(i cant modify the soure).But they both provide an API listing methods that i might want to use to extend some functionality. What i would like to do is as follows: If i am in PROGRAM A and i click the mouse i would like to transfer the mouse click to PROGRAM B.Or if i drag the mouse in PROGRAM A i would like to do the same event in PROGRAM B and vice versa. The API specifies how to do the clicks and drags in both applications but the problem is how to initiate those functions...... I was doing some work and i can identify the window handles and thought that i can s ...Show All

  • .NET Development document.getElementById().innerHTML fails with 'Unknown Error' in IE

    Hello, I'm trying to use document.getElementById().innerHTML in a JavaScript to change information in a webpage. On FireFox this works as described in the W3C documentation, however, the same method returns 'Unknown Error' in IE. The JavaScript looks like this:         <script type=text/javascript>             function Change_Info (ID, ROW, VALUE) {                 if (document.getElementById){                      var ntext = "<td width=4\% bgcolor=#FFFFFF>&nbsp; ...Show All

©2008 Software Development Network