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

Software Development Network >> tone-loc's Q&A profile

tone-loc

Member List

sajohnstone
Scalpel78
CS05pp2
grnfvr
Rizzlers
MRYHMLN
kdubious
jamba8
Smileenergy
Njofra
ROkku
Eddie Garcia
Latso
Orens
Espriella
cpurick
Mirricle
AndyPham
Viktor Weimer
Sonic.NET
Only Title

tone-loc's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. 3d tools using mfc+Directx

    hi all, Basically am a entry level game programmer now i had started my path on tool development, presently i am developing a software like motion editor for that i need to write code for the basic setup so i want to know is there any article of tutorial for creating the basic setup using MFC + directx. ie multiple viewport (you know what a editor needs) please help... KissPsycho I am not working. I am still in college - B.E. 3rd Year. I think we should be discussing these stuff in private - senthil.uac@gmail.com ...Show All

  • SQL Server High availability for Database Mirroring

    Hello, I would like implementing a database mirroring architecture with SQL server 2005 but i have questions. If i don't use a cluster architecture, i would like knowing if there's any solution to move the alias SQL server from the primary to the secondary by script. Anyone got a pb like me or any solution ... Thanks for your help... I can't change connection string because i'm using a software not developped by me. I'll send a request to the support of this program. I found on this site the solution to my problem by changing alias in the registry http://blogs.developpeur.org/christian/archive/2006/11/04/SQL-Server-_3A00_-Alias-de-serveurs.aspx Thanks you all for your answers... ...Show All

  • SQL Server Microsoft.Jet.OLEDB.4.0 Linked Server Transactions

    Hi All, I am writing an interface between SQL Server and Access. I have chosen to use a linked server using the Microsoft.Jet.OLEDB.4.0 provider. One of the requirements is to have multiple SQL statements in one transaction, which is where I am encountering the problem. (see below) BEGIN TRAN INSERT INTO ACCES ... Table Msg 7390, Level 16, State 2, Line 2 The requested operation could not be performed because OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "HES" does not support the required transaction interface. I am having a really really hard time finding documentation on the Microsoft.Jet.OLEDB.4.0 provider, specifically I want to know for sure if it supports the ITransactionJo ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How to adjust line width?

    I am currently drawing my 3D mesh in wireframe mode, however I would like the lines to be thicker. Does anybody know of a method of doing this In OpenGL, there is the glLineWidth() function that allows you to set the thickness. I found the RenderState.PointSize variable, however that only affects the size of single points that are drawn, not lines. I thought this would be a fairly simple thing to do, but I have failed to find an answer myself after several hours. Here's hoping that somebody else has solved this already. ATI's RenderMonkey has some pretty cool outline shaders as part of the NPR project it ships with. Converting them over for XNA use is pretty straightforward. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Including textures in fbx export from MAX

    What is the process for including a texture in an fbx export from MAX Taking the tutorial 1 as an example, I load the p1_wedge.fbx, add the model and texture assets to the project and everything is fine. I presume the texture is referenced from within the model. If I create a simple cube in MAX, export it as an fbx, add these assets to the project, there is no texture. I've tried checking the 'embed textures in export file' option on the exporter and have tried both a MAX standard material and a DX material with the ship.fx effect applied. That got me thinking, so I downloaded the latest fbx plugin and it now works fine, thanks. Just a follow on from that. The 'embed textures' option on the exporter ...Show All

  • Visual C# C# Programming->Constructor

    hi Ques when to use the private constructor. can any one explain with realworld examples As Mattew described, before .NET 2.0 if you had a class all with static methods it was a good practice to put emty private constructor, just to help other developers that use the class to not create instance of it, to be able to use the methods. Why, because if you don't have constructor, builder automatically adds public emty constructor. More offen you can be in situation where your constructor will be protected internal then private. Sometimes creating new instances can have some logic behind, so direct access to constructor will be hiden or controled by some other class. Only use for private will be when you ...Show All

  • Visual Basic regsvr dialog confirmation

    This might be a imple solution to someone but I can't figure it out. I need to know how to register a dll without getting that annoying confirmation message. My code is below. Thanks! Shell( "regsvr32 operate.dll /i" ) 'to install Shell( "regsvr32 operate.dll /u ") 'to uninstall I think that does help, I was missing the /s (silent). You do bring up a valid point. My whole reason behind this is in order for my app to run I must have this dll registered on the client machine. Do you have any suggestion of a better solution ...Show All

  • Windows Forms ListView Help

    Hello All, I need a little help with my listview. I have a list view with 5 columns that are being filled by 5 variables. I also have a while loop that updates the variables continuously and I want to update the listview at the same interval.... I know i can use : listView.Items.Clear(); (then re-add the item) listView.Items.Add(..) however i causes a severe flicker and will not allow the user to highlight a row... I have tried to use Update and Refresh, however this doesn't seem to update the row with the updated variables... Any Ideas Thanks, Andrew Hi Will this work for you - use async delegates for the changes you make and let the list view update at leisure, that should reduce the flicker. you can al ...Show All

  • Gadgets Newbie: First time setup, can't see Hello World

    Hi ppl, I need help. I followed the instructions in Live Gadget SDK. Installed IIS, created virtual folder, but when I view it from my browser (IE6), it shows the XML code instead of the gadget (eg: "Hello World", "Notepad"). did I miss out any of the process or is it because of my IE version Please advise. Thanks! You should not open the xml itself but as the SDK says: - Go to live.com - Click on Add stuff and Advanced Options - Enter the url of your manifest ( for example http://localhost/Gadgets/hello/HelloWorldGadget.xml ) in the box 'add gadget or feed url' Or the easy way: Put http://www.live.com/ add= MANIFESTURL  in the addressbar of your browser. Maybe it ...Show All

  • Windows Forms Leftover pixels From DrawReversibleLine

    I am creating a drawing program...  When I draw a line I am capturing the mouse, and drawing a reversible line, which I store and redraw (to erase the line) if the mouse moves to another point.  The last line will be the the one I capture on mouse up. This works, except there are a few remaining jagged edges created during the process.  They all disappear after mouse up, but they are anoying anyway. Does anyone know how to fix this   When I have done this in the past against the Win32 API, it was very clean, and I am looking for that cleanliness. Do I have to use the API calls Thanks, Bob Thanks, I'll look into it. And it still might be a bug. It really helped to talk ...Show All

  • Visual C# About Regex.Replace(strInput, "[^\\w\\s]", "");

    Hi! Could anyone tell me what the following code does exactly,please Regex.Replace(strInput, "[^\\w\\s]", ""); Thanks in advance! No What he was saying and If i would have seen it I would have commented. the - character specifies ranges. For example [a-zA-Z] specifies all characters a though z and A through Z. Thus if you want to use the - in side of a group as in actually match that character it has to be the LAST character. Which is why the - was placed at the end. So my explanation should have been Match all characters that DO NOT (^) match (\w alphanumeric characters) and \s (white space and tab) and - (hyphen) and replace them with "" Remember the ^ ...Show All

  • Windows Forms window form not responding vb.net 2003

    have created window form class name Cinterface when i instantiate this Cinterface form from with in click event of another form it is working perfecty ok like private sub Button_click(byval sender as object,byval e as Even...... dim nf as new Cinterface nf.show() end sub but when i use same code to instantiate Cinterface form from with in some other user defined event handler form popup but stops responding like dim ob as new some_class AddHandler ob.user_defined_eventname ( AddressOf processdata ) ' this user_defined_event will be raised from some_class and handled by processdata() of this class private sub processdata() { dim nf as new Cinterface nf.show() ' This code is poping up the Cinterf ...Show All

  • Visual Studio 2008 (Pre-release) WCF and MarshalByRefObject

    Hi, We're porting a project from .NET Remoting to WCF. We're facing a problem. Our .NET Remoting Service has a method witch returns an instance of a class that inherits from MarshalByRefObject. In remoting this approach works and subsequent methods invoked in the returned class are executed in the server. How should we do it in WCF. As is, we get an exception regarding an invalid contract. Regards Pedro Gomes I had a similar scenario. The short of it is, you can't return remote interfaces as part of your operation contract in WCF. I solved this by setting up the old MarshalByRefObject as a new WCF service and then I wrote a custom implementation of IInstanceProvider that scans the message ...Show All

  • Software Development for Windows Vista How to NOT persist a workflow instance when it is completed?

    I've found when a workflow instance is completed, it will be persisted automatically. Is that true If yes, how to get rid of it I have already let UnloadOnIdle be false ---- because I do not want to persist my workflow each time it becomes idle. Strangely, it is still persisted when it is about to complete. I do not want this because it overwrites the previous persistence (I am using a custom file persistence service). Thus, I want the workflow to be persisted only when I tell it to be. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Building a Class repository but I have Namespace issues.

    You'll have to forgive the no doubt "simplicity" of this question but please bear with me. I am currently writing lots of small projects to learn different aspects of how C# and XNA both work. This is pretty much the first major involvement in a class based language that I have really dug into and it is certainly one where I have encountered namespaces and had to take notice of them. My plan is to build a set of classes that any new project can have access to (gameObjects, cameras etc...), ideally in a central location to all projects. Every class I create has a Namespace associated with it which means every time I try and use it from a different project, I have to add the class to the project and then change the Namespace. ...Show All

©2008 Software Development Network