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

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

shahram11

Member List

Peer Larsen
JosephCRonk
A.F.B
vladb
EastShores
Jamie Thomson
FreeJesus
hchavali
iSerg
Talyrond
Arun Murali
SolidStrategies
Dietz
Dead Man Walking
Jeroen Alblas
SankaraNarayanan Nagalingam
Alison Jolly
Mallioch
Srdjan
danflu
Only Title

shahram11's Q&A profile

  • Windows Forms DropDownList issue

    I have a populated Dropdownlist on my webpage im making that i get from a sql server. Im still new at all this but the problem im having is that im sorting it with ORDER BY so its in alphabetical order but the one that i always want on top is moved maybe to second or third postion in the drop down list. now i should mention i have about 50 different possible combos with 50 different entrys in the data base with the same name but different value of the item i want on top of my dropdownlist(i always want the one i want on top to be on top no matter the value). I have tried every thing i can think of which sadly probly isnt much. any help on how i can always get it on top would be super cool. i wouldnt say it ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Perspective Shadow Mapping

    Hi all, I've read the Stamminger paper over and over again, but I still can't get my head around the concept. I've had no problems implementing simple shadow mapping (in fact the SDK example proved invaluable), but I'm at a loss as to how I'd implement perspective shadow mapping as described by stamminger to help correct some of the aliasing issues I'm getting. Can anyone describe the algorithm in plain english t.i.a Rob Meridy Thanks for the reply, I've come across that article before, and it does do a good job of explaining simple shadow mapping, but it only vaguely mentions the newer (c. 2002) technique of perspective shadow mapping. I understand and have implemented the technique of ge ...Show All

  • .NET Development Please Tell Me What is The Error In this C# Code

    The Code Is : using System; using MyLiberary; using System.Runtime.Remoting; using System.Reflection; namespace test { class Class1 { [STAThread] static void Main( string [] args) { //Create AppDomaun AppDomain ad; ad=AppDomain.CreateDomain("NewDomain"); //Loading an Object ObjectHandle ohdl; ohdl=ad.CreateInstance("MyLiberary","MyClass"); //Reference the object inside the AppDomain MyClass mc ; mc= (MyClass) ohdl.Unwrap(); Console.WriteLine(mc.ToUper("ahmed")); } } } The Liberary Code Is : using System; namespace MyLiberary { [Serializable] public class MyClass { publ ...Show All

  • SQL Server Report server database security question

    I am currently the only Reportbuilder / Contentmanager / Publisher and admin in the Report server database. I am using windows authentication when creating subscriptions and saving them in this database. Some of the reports that i create have very sencitive information. What risks and procautions do i need to assess if i want to add another reportbuilder / content manager that can manage subscriptions The main thing is I do not want the other builder and content manager to see my report information. is it just meta data that it holds or do i need to worrie about the data also if so what do others do to block them from viewing other peoples data Summery : I just want them to see data that is relevent to their work and not mine. Is th ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How much of a 3D engine will be included in the XNA Framework?

    In the DX samples there are the samples framework. Will that be built upon or will there be a separate 3D engine included or downloadable - What I am looking for is some kind of scene graph - Lighting and materials - Shader loader, constant setter etc. I am guessing since Torque are releasing their engine for this we will not see a full featured engine included but will there be an embryo that is more than the DX sample framework Regards Joachim With regards to the content pipeline, will it be possible to extend it to package (and possibly encrypt) content, and if so, to what degree; write a single class, or rewrite a dozen ...Show All

  • Visual C++ Project corrupted?

    I'm having a tough time and I hope someone can help me out. I tried to add some DirectSound support to my project. All I did was declare the linker path in the project settings dialog, added a couple of lib files in the Additional Dependencies, and included a header file. My project wouldn't compile due to errors in Dsound.h (a microsoft DirectSound header file). When I commented out the Dsound.h include directive that I had added, all of a sudden I get linker errors referring to other parts of my project that had been working fine (!), for example "unresolved external syn=mbol" referenced in MyApp::InitInstance(), and a host of others. I've removed all the changes I made to my project settings but the linker errors remain. This ...Show All

  • Microsoft ISV Community Center Forums Error handling problem

    Hi - i have an end of month routine that will run - however it brings up error 3021: no current record.  this occurs if the user presses the command button where they have not entered any activity that is greater than the 'datelastsubmitted' date because the form loads with the following code: Private Sub Form_Load() Me!officer.SetFocus officer.Value = loginname Me.submit.Enabled = False Dim rsdbase As Database Dim rstemp As Recordset Set rsdbase = CurrentDb Set rstemp = rsdbase.OpenRecordset("SELECT SUM(activityhours)AS [availablehours] FROM [qryavailablehours]WHERE [loginname] ='" & CStr(Me.officer.Value) & "'") With rstemp     .MoveFirst     Me.availablehours = Format(Nz(!availablehours, ...Show All

  • SQL Server Report Model Generating Out of Memory Error

    I am creating a report model of a large database with a few hundred tables, the idea being that the users can report on any part of the database and create perspectives for the areas they want users to have access to (In the past the users have moaned about report models in a CA product called Eureka as the models are too small, perspectives seemed a way of allowing one large model but limiting each perspective to a set of users ). Unfortunately presumably due to the size of the model visual studio is giving me an out of memory error when adding new tables. I have a two dual core xeons with 4Gig of ram and I'm running XP Pro 64bit with the developer edition of 2005 with service pack 1 and VS2005 is using around 1/2 a Gb. Is this a known i ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA (Maps from Text File)

    Hello, I'm coming across a big problem while attempting to make an XNA game. I have a resource with a Text File loaded into it with my map using "+" as the walls, however I'm unable to get my code working right. public Game1() { graphics = new GraphicsDeviceManager(this); content = new ContentManager(Services); // !!!MY CODE!!! Assembly asm = Assembly.GetExecutingAssembly(); Stream stream = asm.GetManifestResourceStream(@"Game1.maps.map01.txt"); List<string> map = new List<string>(); StreamReader sr = new StreamReader(stream); string line = sr.ReadLine(); while (line != null) { map.Add(line); line = sr.ReadLine(); } ...Show All

  • Visual Studio 2008 (Pre-release) Is it possible to add Calendar and popup controls in ListView using WPF?

    Is it possible to add(or invoke on MouseClick event) the calendar controls and popup controls into the ListView cells in WPF Whenever the column(cell) is clicked, the calendar control should be shown and if we clicked in some other column(cell) it popup menu should be shown. Is it possible when using ListView with Gridview Also one more doubt is that, can we include the lines between the columns(as like grid lines shown in normal VS datagrids). As of now when i am using ListView with GridView, the values are displaying properly but the grid lines are not shown. I need these functionalities in my application. How can i achieve these functionalities I think you can do this using style. Else, you shoud redefine the temp ...Show All

  • SQL Server what is the best way to do this search?

    what is the best way to do this search I want a stored procedure which can serach in any of the filled form on my C# windows application. The textBoxes are: txtFileNo txtIDNumber txtContactNumber txtName txtBuilding txtBlock txtBox txtEmail I want SQL Server to search for any fiiled text, so if the user enterred txtName and txtEmail this it will onlt search for txtName and txtEmail. I know how to do this directly from the form but I want to perform this using stored procedure. The error is in here: DECLARE @sql_string varchar(4000), @sql_param varchar(4000) to DECLARE @sql_string nvarchar(4000), @sql_param varchar(4000) And it should work... ...Show All

  • Software Development for Windows Vista Implement Custom Container Activity

    I would like to know if the following is possible (I am using the WF release canidate). I would like to create a custom activity that is a container activity (such as the built in while activity and sequence activity where you can drop other activities into the activity). The point of this activity is to allow the user, through me hosting the designer, to drop other of my custom activities into this container. The other thing I would like to do is restrict which of the custom activites they can put into the container (like how the handle external event activity requires that the first activity have certain characteristics). Can I do this If so, what is the best method of approaching this problem. Thanks. Amanda ...Show All

  • Visual Basic Class Question

    if i create a class, eg. mask, which inherits from another, eg. general, if i put a constructor in the mask class, is it correct i need to copy the rest of the constructor from the general class. cos i thought i don't need to do this as i is inherited from the general one. Public Class General Private _firstOct As Integer Private _secOct As Integer Private _thirdOct As Integer Private _fourthOct As Integer ' CONSTRUCTORS Public Sub New () ... End Sub Public Sub New (ByVal one As Integer, ByVal ...) ... End Sub ... Public Class mask Inherits General Private _slashNotation As String Public Sub New (ByVal slashNotationVal As String) ... End Sub Public Sub New (ByVal one As Integer, ByVal two As Integer, ...Show All

  • SQL Server Validation issues

    Hi there, I have a package that runs fine in BIDS, however fails when run in a job with the following error: "The Validate method must succeed and indicate the result using an "out" parameter". The task it is failing on is a third party FTP task that uses expressions for the filesource and filedestination and username. I have set delay validation on for this task, yet it still seems that it is trying to validate it. Any suggestions Thanks. The only difference between the CL in the job and the dtexec is that the dtexec has the extra swith "/REPORTING EWCDI". If this is a permission error, what permissions should i be looking at: the job currently runs as sa. Thanks. ...Show All

  • Visual FoxPro program starting problem, grid problem

    Hi I have several beginner questions for VFP 8.0 1) Where should I put the READ EVENTS method so the main form will show itself instead of showing the fox pro main window 2) When executing SQL simple select statement for filling a grid, it fills the grid inside the form, but firstly it shows the result in a grid outside the main form. How to show result only in the grid placed on the form Deni Atanasov wrote: I didint understand what you tell me for RecordSource i fill grid with next statement: ogrd=ThisForm.grdUsers ogrd.RecordSourceType=4 Grd.RecordSource= "sql statement" where i put "INTO CURSOR Fred NOFILTER" You did not tell me that you were using RecordSourc ...Show All

©2008 Software Development Network