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

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

EdTheDuck

Member List

Marco Otte-Witte
Telemachus
Richard Hough
Yassi
Martin Schmidt
okieflier
n00bie
Nick Winters
El locolito
GMoulin
arc_dev
fddsfsdf
canadian_coder
CBHCMC
New-Bee
Shivangi Chaudhari
snohelty
tayoga
Fluxtah
JamesScottJr
Only Title

EdTheDuck's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Shader states, etc? (HLSL effects not working right)

    I'd like to call upon all the shader gurus here for some help :) I've been experimenting with writing some of my own effects, meaning I'm a HLSL newbie, and have been using NVIDIA's FX Composer to do my work. After producing a cool (albeit simple) effect, I decided to try using it in my little model viewer. The problem is that the way it shows up through XNA is different than the way it shows up in FX Composer, and I can't figure out why. You can find the code to my effect here: http://www.hiranipra.com/data/help_attach/gb1_shader.txt - it's just fairly simple environment mapping-ish stuff. A screenshot of what it looks like in FX Composer: http://www.hiranipra.com/data/help_attach/FxComposer1.jpg - it's hard to tell, but the ...Show All

  • SQL Server Native Client ignores ANSI_NULLS setting in database

    Hello, I'm using the SQL Native Client to connect my VB6 application to my SQL Server 2005 database. My SQL Server 2005 database has ANSI_NULLS turned off. I have a query embedded in my VB6 application that uses the syntax "fieldName = NULL" in the WHERE clause. When I execute the query via the SQL Native Client, the query returns zero rows. When I execute the same query via the old OLEDB driver, the query returns many rows. If I change my query to "fieldName IS NULL" syntax, the problem goes away. However, I am more interested in figuring out why ANSI_NULLS are turned on when using the SQL Native Client even though my database has them turned off. Is there a connection string property that I can use with the SQL Na ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Managed Direct3D 10

    Since XNA only supports DirectX 9.0 Where is Managed Direct3D 10 I hope there will be Managed wrapper for Direct3D 10 thanks   Jononet wrote: XNA only lets you use an entire window for the graphicscomponent. This is not much use to people like me that make business apps with 3D elements in them, for us being able to create a device in a control within a Windows Form is essential. Our applications are never going to hit the XBox so we would end up moving away to OpenGL libraries rather than use C++ which is too much of an overhead in a RAD environment. Though it's not stated in the docs, XNA does in fact let you manually create the device and render to a control in a ...Show All

  • Visual C# partial class and conditional compiling

    Hi, I have a following class declaration: #if LOW_LEVEL public sealed class Core #else internal sealed class Core #endif { } Based on the conditional compiling directive I want to control the access to the class. I do not define the LOW_LEVEL compiler directive (either in code or in project settings). I compile this class. It works fine. But when the class definition is split across files like below: //class1.cs #if LOW_LEVEL public partial sealed class Core #else internal sealed class Core #endif { } //class2.cs #if LOW_LEVEL public partial sealed class Core #else internal sealed class Core #endif { } and when I compile the two classes now ...Show All

  • Visual Basic "Enable Application Framework" option in project properties messing up label text

    I have a COM project (.NET) that contains a form with a label. It gets called by an unmanaged, non-.NET application. The text in the label control gets squished. I've written a little sample app that I can duplicate 100% of the time to get it to squish or to not squish. This is what my sample app does. I have AWinApp, which is a .NET windows app and MyCOMApp, which is a .NET COM app that contains a form with a label. AWinApp calls MyCOMApp.MyForm.ShowDialog() The text in the label gets squished if the "Enable Application Framework" option is not checked from AWinApp project properties. See screenshot below: http://new.photos.yahoo.com/chango_butt/photo/294928804136692661/1 This is how it should look (I checked "E ...Show All

  • Visual Studio Express Editions How to select multiple dates in MonthCalendar winform control

    Hi, i want to select multiple dates (not contiguous) on MonthCalendar winform control, but i can only do for a range of dates that are continuous, but not random ones. Also, i want to programmatically select a list of dates, and the selection should be read only on the front end. Users should be able to view the selected dates, but not change them. Thanks, Srinivas Yelamanchili The MonthCalendar properties that indicate selection clearly do not support this. You could use BoldedDates to indicate selected dates... ...Show All

  • Windows Forms datagridview vertical scroll bar

    Is there a way to make the datagridview have a perminant vertical scroll bar There was a way with the datagrid, but can't seem to find it in the datagridview. Thanks in advance. I am having the same problem. *Maybe* I am using the wrong class. What I am trying to do is to add a bunch of rows to a control dynamically using the datagridview's Rows' Add method. I add the rows one at a time periodically over some period of time say 1 or 2 minutes. When I hit the exact number of rows that the DataGridView can display the entire application locks up. Also the DataGridView is not able to create the scrollbar for the control. The area where the scrollbar would appear is a little funky, as if the paint metho ...Show All

  • Software Development for Windows Vista master agreement that must be signed before making software logo submissions

    Dear all I'm having trouble competing this agreement. In the PDF it states we should enter our name and press submit, but on the page given, there is just an embedded PDF, that is not editable, and has no SUBMIT button https://winqual.microsoft.com/member/LAC/DocumentDetails.aspx id=513&type=0 This logo submition business seems to be overly complicated :( Come on folks, I need help on this one, I cant progress any further without "signing" this thing! ...Show All

  • Windows Forms How to detect the changes on listview

    For .Net FW2.0, I can detect the changes on datagridview by subscibe the event "RowAdded","RowRemoved","CellValidated". Step by Step: 1.Write a method Eventchanged(object sender, EventArgs e), I will set a bool value to be true; public void Eventchanged(object sender, EventArgs e) { this.detectObject.Ischanged = true; } 2.subscribe the event after form loaded; this.dataGridView.RowAdded += new EventHandler(Eventchanged); this.datatGridView.RowRemoved += new EventHandler(Eventchanged); this.datatGridView.CellValidated += new EventHandler(Eventchanged); 3.Through the local variable detectObject, I can know if user have changed the content in the control datagridView. But I can not find the same events ...Show All

  • Visual FoxPro A (simple I suppose!) grid question ....

    Hi all! I used to work with VFP a long time ago and I have almost forgot most of it so I ll need your help here! :) I have a table (called myTable) with 4 fields (3 of C(20) and 1 Memo- ID,Title,Location,Descr.). When I am displaying that on a grid, I do that through a new cursor called myTable_cursor. But in the cursor I added a new field because what I wanna do is to display the first 20 characters of the memo and if the user wants then to double click on the memo cell and a new window to open and view all the memo field or edit the memo. So my problems are: 1. Whatever I put in the click event in the textbox cell in the grid (in the correct memo column) it does not respond! Any solutions here 2. I use a cursor to display ...Show All

  • Software Development for Windows Vista How to correct the "Unidentified Publisher" message

    There is an earlier post ( here ) detailing how to get the correct publishing details in the User Account Control window but it described the process of getting the software through the "Works with Windows Vista" Program. My question is: To get the correct publishing information in this window, is it enough to digitally sign the software using a software publishing certificate from versign or does the software have to be submitted to the "Works with Windows Vista" program I've signed an app using a test certificate and it's made no difference to the User Account Control window. Thanks in advance. No, you only have to sign with a valid Authenticode certificate. Do not forge ...Show All

  • Microsoft ISV Community Center Forums MS Office document and image writer print driver

    Besides removing this feature from Office during setup, is there a process to remove this virtual printer from 300 users with roaming profiles on an active directory network We are having an issue with this printer assuming the "default printer" selection for our users. As a work around we have changed their default printer, but after they reboot or log off / on it has defaulted back to the MS Ofc doc and image writer printer. Hi to all! At me a problem with installation Microsoft Office Document Image Writer under Windows 64-edition SP1 with Office 2003 Pro full instalation. On a step 3 at me in the list is not present Document image printer writer port. Somebody faced a similar problem ...Show All

  • Windows Forms Custom events witch object type propertys

    I am making a user control where 3 of the propertys are of the type Voltage, witch is a self defined object. consisting of a float and a enum. When one of the voltages changes I want to trigger a custom event to notify the program about this change. I though I could do that like a normal attribute like this: public partial class Switch : UserControl .... private Voltage a= new Voltage (); .... public Voltage A { get { return a; } set //This is never reached if I change a value like Switch1.A.volts=10. { if (a != value ) { a = value ; OnVoltageChanged( new SwitchEventArgs ( this , state, a, b, c)); } } } .... public event Switc ...Show All

  • Visual Studio Express Editions Automatically Resizing Data Grid View Control

    Hi, is there a property I can set to automatically resize the data grid view control as rows are added The rows will be added programmatically. Thanks in advance. Peter Winson If You are Using Datagrid View then you can set the "scrollbar" property to show "both" Programatically ypu can write dgmyDataGrid.ScrollBars = ScrollBars .Both; ...Show All

  • Visual C# Creating a new class that can be set to a value

    Im trying to create a class or struct that can have a value, i'm basically trying to create my own kind of string or int. how do i do that ive got code, but it doesn't work public struct MyInt { } public void SetMyInt() { MyInt I = new MyInt(); I = 34; } I get a conversion exeption, cannot implicitly convert type MyInt to int public class MyInt : int { } public void SetMyInt() { MyInt I = new MyInt(); I = 34; } I get a int exeption, cannot derive from int Hi Greg   You can't inherit from any value type (int, long, etc. or any other struct) or from sealed classes (like string). -- Paulo Morgado MCSD.NET - C# MVP https://mv ...Show All

©2008 Software Development Network