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

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

ai_rasmussen

Member List

dee-u
MaggieChan
Bernd Wechner
Gurpreet Singh Gill
ManishSingh
Mudbugz
BarrySumpter
vibha504
Lord Raoul
bennett_chen
Anders Pettersson
exBK
mshola
Keith Newton
Kunk
Dave Dustin
Tega
Andre's
Philip Jaques
elwood
Only Title

ai_rasmussen's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Scanlines in 2D

    I'm cerating 2D game and wondering how to implement scanlines effect. For now i'm using simple .png image colored with scalnines patern and transparency - i simply draw this sprite in front of all other of my sprites, but since the texture is big and uses transparency it seems slow and i have large framerate drop when i'm using it. So i'm asking for help - is there may be other ways to create this effect Thanks. Wery nice idea, but i have no expierence in programming my own shaders . Does it is worth effort to learn it to solove this situation Some tips would be nice .. P.S Sorry for my bad english, i hope You get the idea ...Show All

  • Visual Basic How to get context menu for webBrowser control

    I am using the webBrowser control to do ftp and this works great... When i right click on a folder in the browser window i am presented with the standard menu items.. I have alredy worked with the ShellAPI and have project that wraps a treeview so that i can get the shellFolder that is assoisated with the treeNode...The code below is what i use to get the context menu for a shellFolder. I would like to get be able to capture the context menu and add items, then handle the commands with the system.windows.forms.webBrowser.. how do i capture the context menu so that i can add items.. thanks erik public static bool GetIContextMenu( IShellFolder parent, IntPtr [] pidls, out IntPtr iContextMenuPtr, ...Show All

  • Software Development for Windows Vista Where to install our application?

    We are reviewing Beta 2 and we are trying to determine where to install our application. A little about our application. For a stand alone installation we always default to C:\ and C:\Program Files\ directory. With vista the standard user does not have write access so our access databases cannot create the .ldb lock file. Here's our thoughts see if anyone agrees: 1. We can install it to the C:\Users\<UserName>\AppData directory, fine if they are only one user on that machine. Some of our users switch between users on that machine. What happens if they change user names, the data will not be transferred to the new user and they will not be able to access this directory. 2. Install to the Program Files directory and give th ...Show All

  • Visual Basic Two More Questions (VB, VS 05)

    Firstly these two questions should be the last for a while. Q1 : I have a NotifyIcon, with Context Menu but I would like to have my application Close or Minimize to the Notification Area so that a sub-feature can do its thing. I have looked on the MSDN and elsewhere online but cant find actual examples of this is it possible Q2 : As for the sub-feature, its a timer activated process stop (every 10 minutes it stops a process that comes back on its own withing that time period) I have the timer code, and it works, but I would like to have it so that the user has to check a checkbox to start the countdown for the autoclose. No rush on this as I have to further test the rest of the project. Many Thanks Danie ...Show All

  • Visual C++ Linker Error: Unresolved Token __ehvec_dtor

    I am receiving the following linker error when I try to compile: error LNK2020: unresolved token (0A0000014) __ehvec_dtor I am trying to convert some old VC++6 code into a managed application. I'm very much a C++ beginner, so for ease of conversion reasons I want to keep the old code as unmanaged. I have created a C++.NET Class Library project and I am "converting" the classes of the old application by creating new generic C++ classes and copying the essence of the code across from the old app. The line of code that seems to be causing the problem (the error goes away if I comment it out) is an attempt to declare an array of another (unmanaged) class. It looks something like the following, which is part of a class in ...Show All

  • Visual C# Is it possible to execute c# program in background

    I am writing a simulation in C# (VS 2002) preliminary estimates show that the program will run for 3-4 weeks. When the prototype runs it takes over 99% of the CPU. I would like if possible for the simulation to use limited CPU resources when the PC is in use and take over all the available resources when I am not using the PC. What are my options Thanks Alex wow thats alot. something isnt right there, what on earth are you doing that takes up 99% of the CPU ! your option I believe is to check if the system is idle, if so, do your thing in the application. The application can run in the background as a scheduled task in Windows for example or maybe as a Windows service or something along those lin ...Show All

  • Visual Studio Express Editions Cannot install visual studio express in vista

    When I try to run vcsetup.exe, I get up to setup is loading components and then get a message:"There is no disk in the drive." Vista then tells me that I have to download windowsXP Service Pack2. All efforts to download SP2 lead me to windows update, which tells me, that I don't need any updates. Please help, Gerhard there are some known issues when installing VS (even the full version) with Windows Vista as it is still in RC stage (near completion really) maybe someone here has found a workaround. ...Show All

  • Architecture critique requested on thin Data Access Layer

    I have devised a way to save tons of code by calling stored procs with a single web service method, which takes a DataSet parameter, containing a DataTable with the name of the stored procedure and column names matching the parameter names, and row(0) contents matching the values to be passed. I have further simplified matters by making all parameters varchar, so a call from my client looks like: Dim paramVals As String() = { myString1, myString2 } Dim ds As DataSet = oneWsMethod("storedProcName", "param1,param2", paramVals) ... Dim params As String() = { this1String, thisOtherstring, thirdString } ds = oneWsMethod("anotherProc", "p1,p2,p3", params, usingTransaction:=True) My o ...Show All

  • Visual Studio Express Editions VB2005 Express - Adding a Help File

    Trying to understand how a help file (.chm) is incorporated into a VB2005 Express application. I was assuming that at the time the program is compiled, the .chm file is 'bundled' with the application. Can access the help file no problem after running it at the development stage but when I publish the application and run it on another computer, I am unable to access the help file from the help menu. Therefore, does the .chm file need to be downloaded/installed with the application and is there a recommended location Looking at other applications on the computer this may be the case. Clarification would be much appreciated. Thanks Bill Hi Bill, the .CHM file isn't 'bundled' with your app ...Show All

  • Windows Forms Need help with combocontrol

    Hi, I have few items in a comboctrl. As the buisness logic is changed i should not select a particular item . say if i have a,b,c,d,e,f,g . .. c is no more valid to select . But the old records with value c should be able to display. If we try to select c it should not get select. I tried to pop up message in selected index event and set selectedindex = -1. But its not displaying c for the old records also, like while loading from the db. Please help me venp-- ...Show All

  • Visual Studio Team System Sync code with Solution Explorer

    Hi All, I just upgraded to VS2005 and am playing with some sample projects. How, in VS2005, can I sync up my code with the project in the solution explorer. I don't necessarily always want the solution explorer to open up the appropriate project and set focus on the file I have open (like in VS.NET), but it would be nice to have a keystroke or menu item available to see in which project the current file is located. Thanks, --Ed.S. I agree - I find this to be one of single most frustrating things about vs.net 2005. That said - today, completely unexpectedly, I noticed that automatic syncronisation of the solution explorer was occurring! I use reshaper 2.0 and perhaps a recent build has started doing it ...Show All

  • Visual Studio 2008 (Pre-release) MessageContract and EmitDefaultValue

    Hi, Is there any way to use message-style operations with [MessageContract] types together with DataMemberAttribute.EmitDefaultValue Or at least get the same behavior – get rid of empty elements in the resulting SOAP. There is, of course, a universal way – to derive from Message, but it is the last chance Thanks in advance! Unfortunate the answer is No. EmitDefaultValue is only for DataContract Serializer. This limitation is actually partially due to WSDL. the WSDL message part doesn't have a 'isnullable' concept. ...Show All

  • SQL Server How to disable Export

    Hello, I am making a web application and I will show reports with the reportviewer, however the user can manage some parameters of the applicacion, the administrator can decide if he wants to allow the user to export or not export to PDF or XLS. Anyway, I want to enable or disable those options in the reportview dinamically! Is that possible If you put the webforms control on your own page, you can add whatever parameters you want to the url, then parse them and take appropriate action in your page. ...Show All

  • Visual C# Dynamic Casting in C# at runtime

    How Can I dynamically cast at runtime.That is I am passing a child class object in the parent class object in a function.In t hat function i have to cast to passed child class object at runtime. How Can I Cast It. protected void Page_Load( object sender, EventArgs e) { Circle circleObj = new Circle (); circleObj.Radius = 5; Response.Write(chkRefrence(circleObj)+ "<br \\>After " ); } private string chkRefrence( Shape shapeObject) { //Type t = shapeObject.GetType(); ((t) shapeObject).Radius = 15; //It is here I want's to cast to Circle shapeObject.Id = "TestObj " ; return shapeObject.ToString(); } I know this is an old thread, but I ...Show All

  • Visual Basic releasing resources

    having created a user control (which contains a few buttons and text boxes ) and added several of them to a panel...how do i release their resources/memory when i want to clear the screen and start over do i need to create a dipose or finailize method in the user control class do i just need to iterate throught all the controls and call their dipose methods or something else how do i release all the variables associated with the class Thanks, Dan if i dispose my usecontrol instead of just removing it, it does disappear...but does that mean all its subcontrols/variables are gone as well shouldi see this in memory being freed up Thanks, Dan ...Show All

©2008 Software Development Network