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

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

spagbol

Member List

R.Tutus
M.A.T
Mark The Archer Evans
wraithzshadow
JohnmanCarl
SaravanaKumarPaulraj
Robert S P
dyna
Pradeep T
Alpehans
jerfoo
SivaS
Joe H
Nag Rao
Alan Z
ZopoStyle
m.dawood
lasa
Pockey
Vyanki
Only Title

spagbol's Q&A profile

  • Visual Studio 2008 (Pre-release) Metod call authentication

    Hi all! I need some Principal / Identity guidelines. I'm about to design a business/data layer (of a small application) using WCF. The user will have to login with a username and a password that will be checked against information in a database. The user will also be assigned different roles depending on what the database says. The clinet will be a winforms app and (as I said) the business/data tier will be a WCF-service. So, let's say there is one login method in my WCF service looking something like this: public GenericPrincipal Login(string name, string password) { ... } The client application will start off by asking the user for a name and a password and call the above method. A GenericPrincipal will be returned telling wh ...Show All

  • Visual Basic Setting application settings

    I really dont know if I am about to fraize this right or not, but here it goes. I have got a series of groupboxes on a form with a few comboboxes on each groupbox. In each combobox there are selections for different operations What I am thinking about is how to remember what the user selected last in each combobox, then the next time the the groupbox is shown - return that user to where they were previously with thier selections reguardless of if the application was closed or not. I used to have a temp table in access to do this, is there a better way without using a lot of resoucres Can this be hardcoded in the application or is that a no-no If this is possible can someone point me in the right direction Davids Lea ...Show All

  • Windows Forms how to debug a control as it's loaded into control/resource/forms editor

    I have a control with a number of other controls on it, as well as a tab control with 2 pages. I can drop this control from the Toolbox onto a new form, and it shows up and "runs" in the designer with no problem. However, I am not able to see or edit the control in the forms designer when I right-click on the file in Solution Explorer and choose "View Designer". VS simply hangs there, and task manager shows that it is taking almost all the CPU time while it hangs. I know that reflection is at work here, and perhaps it's just overwhelmed with the amount of work it has to do (other controls and forms open fine on my system.) But I'd like to get to the bottom of why this is happening. I have attached the d ...Show All

  • Software Development for Windows Vista Virtual Server 2005 R2 fails in Vista

    Yesterday I upgraded my XP developer machine to Vista Business edition. I develop SharePoint Portals using Virtual Server 2005 R2 with SQL Server 2005, Shareporit Server 2005, and Visual Studio 2005. I test the portals in the Vista host (formerly XP) After the upgrade, two problems have arisen: 1. The virtual NIC cards in the virtual server no longer work and therefore I have no connectivity in and out of virtual server 2. The Virtual Server Administrator Website in the Vista host does not conect to the virtual server. Trying to connect, I get a message: "Could not connect to Virtual Server. Access was denied." In general, the apps inside the virtual server seem to work OK, but not being able to bring up the virtual s ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Fixed Function Pipeline and Temporary ResultArg

    Hello, I have the following states set in an effect for use with the multistage texture blender: Texture[0] = (e_TextureDiffuse0); ColorOp[0] = Modulate; ColorArg1[0] = Texture; ColorArg2[0] = Diffuse; AlphaOp[0] = SelectArg1; AlphaArg1[0] = Texture; ResultArg[0] = Temp; ColorArg1[1] = Temp; ResultArg[1] = Current; For some reason I get the following error with the DirectX debug runtime on: Direct3D9: (ERROR) :Unsupported result argument. This doesn’t make any sense because D3DPMISCCAPS_TSSARGTEMP is true and thus supported on my video card. I need to use the temporary register in the texture blender. Why am I g ...Show All

  • Visual Studio Express Editions Of Pictureboxes, Transparency, Movement and Backgrounds

    Hi there, I am trying to make a picturebox move over another in a program - one, a stationary red arrow, the other a moving green arrow. When the green arrow picture box moves over the red, you can clearly see that the green picturebox is only *pretending* to be transparent; you can see that the green picturebox is filling the empty spaces with the form's colour, and that box moving over the arrow beneath it. Basically, it looks fairly unprofessional. Is there some way to fix this, so that you *only* see the green arrow moving over the red, and not the form's foreground colour with it I hope that made sense; please let me know if I need to clarify. Alright, I have found a partial solution to my problem. ...Show All

  • SQL Server Processing Cubes via a SQL Server 2000 DTS

    Hi, I have a DTS which processes a set of AS 2000 cubes via a set of AS Processing Tasks. I want to know how I can accurately trap and report errors once a cube fails to process Thanks in advance Jon Derbyshire The logging of processing errors in DTS ( SQL Server 2000 ) is bit limited. You should try and look at migrating your application to SQL Server 2005 instead. I know it is bit a far fetched suggestion to migrate your whole solution to SQL Server 2005 just because of a single problem with accurately tracking processing errors. But the problem is: your will find increasingly harder to implement any new functionality with old version of the product. You will find it harder to find answers to your qu ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DepthStencilSurface NotFoundException

    Hi, trying to bind a device to a panel on a form. public void InitPreviewPanel() { PresentationParameters pp = new PresentationParameters(); pp.AutoDepthStencilFormat = DepthFormat.Depth32; pp.BackBufferHeight = this.pan_preview.Height; pp.BackBufferWidth = this.pan_preview.Width; pp.MultiSampleQuality = 0; pp.MultiSampleType = MultiSampleType.None; device = new GraphicsDevice(GraphicsAdapter.DefaultAdapter, DeviceType.Hardware, this.pan_preview.Handle, CreateOptions.SoftwareVertexProcessing, pp); If i break after the device creation I notice that the DepthStencilSurface property has thrown a NotFoundException. I can create a device through the normal XNA Express Grap ...Show All

  • .NET Development RS232 Modem cable - is "CD" active? SerialPort.PinChanged example anyone?

    I have an modem cable and an RS232 minitester. When I have a connection with a cable(or what it calls in english..) from pin 3 til pin 8 the "CD" is lighting, it is green. The cable is connected to my computer. How can I see on my computer if there is a connection(like if CD is lighting) between pin 3 and pin 8 I have used a lot of time on Google but cant find any things there can do that. In VB.Net there is a function SerialPort.PinChanged . I think I should use that, but how Can anyone give me a example Try this. I couldn't test it, hope it works: Imports System.IO.Ports Public Class Form1 Private WithEvents mPort As SerialPort Private Sub Form1_Load(ByVal sender As System.Obje ...Show All

  • SQL Server Auditing Failed Logins

    Hi, I need to be able to get info about failed login attempts which need to be running all the time and logging info such as hostname , application name, host machine, etc. The best way I can see to do this is by crerating a trace. Then loading the info from the trace into a table for later use by using fn_trace_gettable. But this requires that the trace be stopped and the definition removed for the trace file to be populated. Is there a way to be able to log this info constantly into a table without having to stop and then recreate another trace. Also it requires that the table created by the function is dropped. Anyone any idears Thanks Hi Bob, Actually, if this information is cr ...Show All

  • Visual C# How to code my SQL String Manipulation App in C#

    I would like to know the following in regards to my other thread on how I'd possible approach doing this same thing through C#. To me it seems like more work to do this if you are like me and haven't really done client C# and mostly used to ASP.NET C# code but I might as well start, as I could use regex or whatever to strip out stuff and instert or rearrange into our new table: http://forums.microsoft.com/MSDN/showpost.aspx postid=1087366&siteid=1 So I would like advice and specifics from your experience on the following: 1) What type of C# app should I do this in, console or windows form or other and why one vs. the other 2) Ok, fine, I create #1. Now, what type of controls should I use. I plan on reading the data from a s ...Show All

  • SQL Server Processing AS2000 Cubes from SSIS

    Hi All, I have a scenario where I want to execute AS 2000 Cubes from a SSIS package. In my Prod environment I have two servers one with the SQL 2000 database and the AS2000 cubes on it and the other with SSIS installed on it. What I am doing here is I have a DTS package with a process cube task in it, this DTS package is saved as a structured file and then I call this DTS package from SSIS using the Execurte 2000 package task. Just FYI the process cubes task is using local as the server reference. I want to know how this will work when I execute this DTS package from within an SSIS package running on a different server Appreciate all help. Thanks The "normal" way to process AS 2 ...Show All

  • Visual Basic connection from vb.net to reader

    i am currently doing a project on rfid. the database i am using is ms sql server 2003 i need to connect in vb.net 2003 to the reader ar400 to read and write and remove tags. can i get some help on it thanks a lot thanks for your help. but i dont really get this part from your reply " if you replace Integer with Long in when using the API..." ...Show All

  • Visual C# show release version

    Hello, I have 2 forms that i need to show the respective version in a dialog box or in another form. something like this: form1 version: 1.0.0.0 form2 version: 1.0.0.1 Cpyright.......... Im thinking to put in a class so that's any new form can use it. Any idea I'd say go with a ListBox in a design similar to how the About page of Visual Studio 2005 (and Express) looks. If you made it into a control just provde a method that would take in the objects name and it's Version (ie System.Version ) and store it internally. ...Show All

  • Visual Studio Express Editions help needed

    hello all, this is in reference to my earlier thread about displaying data in a messagbox using an attribute from a listbox this are the codes for it: private void listBox1_SelectedIndexChanged( object sender, EventArgs e) { if ( this .listBox1.SelectedIndex > -1) { this .dogetdata( this .listBox1.SelectedItem.ToString()); } } private void dogetdata( string itemChosen) { conn.Open(); SqlCommand cmd = new SqlCommand ( "select fname from Profile where noPlate = '" + itemChosen + "'" , conn); SqlDataReader rdr = null ; rdr = cmd.ExecuteReader(); if (rdr.Read()) { string name = ( string )rdr[ "fname" ]; ...Show All

©2008 Software Development Network