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

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

roboky

Member List

Tadwick
Saji
Arun S
mike_b_a
Thomas S. Andersen
pc_bond
Fuzon
Rain3204
Steve from adzac
Jens K. Suessmeyer - MSFT
programmer01
Andrew Mercer
EvilPenguin
Peter Torr - MSFT
twilightown
m_shane_tx
Viktor78
Rachad
TennTechGuy
ksona
Only Title

roboky's Q&A profile

  • Visual Studio Question about sub project I think...

    How do I create a sub project What I'm trying to do is just like a form designer creates partial class. If you look at form designer code, the main class the user has access to is the file. then there are sub files under that file: "user file".Designer.cs & "user file".resx How can I create sub files to a file like this Thanks, Devin You can use the AddFromTemplate method to add a file of any type, such as a form. Also, while Project has a ProjectItems collection, a ProjecItem has also a ProjectItems collection to add files to that file. ...Show All

  • Windows Forms include vfpoledb.dll into .net build (VB.NET 2005 windows forms)

    Hi, I need to distribute vfpoledb.dll along with my application, the dll needs to be placed into C:\Program Files\Common Files\System\Ole DB (create if doesn't exists) and register it using regsvr32 How can I do that Thanks, Igor I have updated the bootstrapper to include install conditions so that the install is bypassed if the FoxPro dll is already installed. It also will look for a reboot required condition. ===PACKAGE.XML=== < xml version = " 1.0 " encoding = " utf-8 " > < Package Name = " DisplayName " Culture = " Culture " xmlns = " http://schemas.microsoft.com/developer/2004/01/bootstrapper " > < Packag ...Show All

  • Windows Forms Adding pre-created controls to a DesignSurface when hosting the Windows Forms Designer

    I'm hosting the Windows Form Designer in an application I'm writing, and I'm trying to implement paste functionality. I already have the copy side working (serializes the controls), and the deserialization is working too. I have the deserialize function returning a collection of controls, but when I can't find any way to add these to the design surface, only a way to create a new control from a type. Is there any way to do add pre-created controls to the design surface Or do I have to use the IDesignerHost.CreateComponent() method to obtain a control that *is* on the surface, and then use reflection to modify its properties Thanks ...Show All

  • Visual Studio How to get Browse information

    I'm trying to build a VS AddIn and have been researching how to do it. I've been able to piece together most of it from the samples, but I haven't figured out how to do this next bit: I need to know what code objects (classes, methods, members, namespaces,etc.) are currently defined in all the projects in the solution. Ideally, I'd like to know the type, name, source file and source line of all of these objects, and moreover, I'd like to be able to subscribe to an event source to let me know when that data changes. Is there a sample or something that shows something similar I've found quite a few examples of how to provide that sort of information through implementations of IVsLiteTreeList and IVsObjectList2, but my attempts at cons ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. FizzVaders - 360/PC Demo With Full Source

    Hello   Not sure of the best place to post this but I thought best to share some code with you all.   It's a simple space invaders game that will run on the PC as well as the 360 - it uses the two projects in one method.  You'll have to excuse the coding, it's the first thing I've written in C#, previously I used C so it's a bit of a jump.  I always go for something simple to begin with.    It runs in 1280x720 and you can switch between windows and fullscreen using alt-enter.    PC will work with a 360 pad (not sure about others as that's the one I tried). There's a co-op mode as well, just hit Start when in game to join in.  PC keys are...    & ...Show All

  • Windows Forms Updating Textboxes.

    How do I update a text box with new information everytime an action is made see for example.. the program that Im creating removes ip addr that does not have a hostname.. but for some reason the new textbox doesnt want to update with the new ip addrs.. :( here is what I got. void ReLocateControls() { txt = new TextBox(); txt.Location = new Point( 10, 340 ); txt.Size = new Size( 770, 30 ); for( int x = 0; x < pnl2.Controls.Count; x++ ) { CheckBox chk = pnl2.Controls[x] as CheckBox; chk.Location = new Point( 10, 30 * x ); IPAddress[] ipHostEntry = Dns.GetHostAddresses( chk.Text.ToString()); foreach( IPAddress addr in ipHostEntry ) { txt.Text += addr.ToString() + &q ...Show All

  • Customer Care Framework No public or private folder

    Hi, I couldn;t find any folders such as PUBLIC or PRIVATE when CCF Setup is extracted. Given below is the directory sturcture (at the first level) Volume in drive D is New Volume Directory of D:\SankaraNarayanan\CCF\ccfextract CCF2005_SW-License.rtf Redist.txt <DIR> Setup <DIR> SourceCode <DIR> UserDocuments Directory of D:\SankaraNarayanan\CCF\ccfextract\setup <DIR> CcfReports <DIR> CcfServer <DIR> CcfTools <DIR> Database <DIR> DemoApps <DIR> Others <DIR> SSP Directory of D:\SankaraNarayanan\CCF\ccfextract\SOURCECODE <DIR> Microsoft.Ccf <DIR> Microsoft.Ccf.Adapter <DIR> ...Show All

  • Visual Studio Using Web Deployment Project with Web Application Project

    I recently installed the Visual Studio SP1, which includes the new Web Application Project . I already had the Web Deployment Project download installed on my computer and have been using it extensively. But then I read that there is an update to Web Deployment Project that will allow it to be used with Web Application Project. So I deinstalled Web Deployment Project, and downloaded the new version and installed it. (This was after installing SP1.) The problem now is, I can't get it to work in a Web Application Project. I have a WAP that I converted from a Web Site project, and the "add Web Deployment Project" menu item does not show up in the Build menu, OR in the context menu you get by right-clicking on the project node ...Show All

  • Visual Studio Express Editions Spreadsheet in VB 2005 express project

    This is a really quick question Is it possible to have an Excel spreadsheet embedded into a VB Express program that you are making If so how would I do this And will the spreadsheet retain its excel properties and functionality Thanks This url has details on how to use an excel control to embed a spreadsheet into you application. http://www.daniweb.com/techtalkforums/thread21529.html ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Help with 2d rotation... (Atan2?)

    Hi, Very noob to xna, as well as game programming.. but already stuck on some trig and would love some help. I have a texture that i want to rotate to face my mouse cursor at all times, I have tried various formulas that I thought worked in Actionscript but I must be missing something on the conversion... rotationPoint = GetAngle(mouseX,MouseY) float GetAngle( int xx, int yy ) { float rotation = Convert .ToSingle( Math .Atan2(yy - this .spritePosition.Y, xx - this .spritePosition.X)); return System. Convert .ToSingle(2 * MathHelper .Pi - rotation); } So I call this with my mouse x and mouse y... and paint it in my draw method spriteBatch.Draw(myTexture, spritePosition, null , ...Show All

  • Visual Basic Help: WebBrowser Control with custom http headers

    I use WebBrowser control in VB.NET windows application and have to customise the USER-AGENT for only control under the application itself (does not effect the original IE) sample: Original USER-AGENT : Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727) desired USER-AGENT : My Application Name (any version) I saw that it is an overloaded function to add a custom http header but it is available only for POST method It is very easy to do this with VB6 but .NET is different. Tried searching over the internet but found no answer yet. This only changes the user agent for the first request. Once the page loads, if the user clicks on a link or ...Show All

  • .NET Development How to handle data in different tables?

    I was wondering if someone could point me to a tutorial that might help me I have an application that I'm developing that will display a tabbed form which needs to contain data from different tables. For example, my database has a contact table with typicall information and then it also has a lead table which contains information if the contact is a sales lead. They are linked together by a common contactID column. There are a few other normalized tables also like an AlternateAddress table. My first problem was that I could only get the binding source to connect to a particular table. This was a problem cause the data that I need to modify is normalized across a few different tables. My solution to that problem was to create a view ...Show All

  • SQL Server Prgramming for SQL Server 2005

    Folks, I'm new to sql server and want to know 1) what are the possible ways to program ( I mean do we have any frontend tools OR where do we write program which eventually talks to sql database)so we can do ETL operation for data of sql server DB. 2) How to learn that programing ( meaning what are the resources ) 3) I'm new to database concepts as i'm Java Programer - what basic things I must know in order to design sql database all above que is to support my current new job, PLS advise asap. thanks. If you already have an existing database, you can start using it with SqlConnection and SqlCommand. Look them up in the MSDN. You’ll need a book to get started with the T-SQL languag ...Show All

  • Software Development for Windows Vista Pass Windows Vista Certification Test

    I'm preparing a test certification for Windows Vista. 1) Can I use InstallShield Express 3.5 to do build and MSI and pass this test 2) The MSI file must have a valid certified or just the ocx, dll and exe files must have a valid certified Regards Hello P.Sanches Fernandes, Microsoft does not support 3rd party products however I would think as long as InstallShield doesn't perform any proprietary actions on their MSI creation and they do not sign the MSI with their own cert you should be good to go. As for your second question, please see test case 5 below: TEST CASE 1. Verify application installed executables and files are signed (Req:1.3) STEPS: 1. Browse applic ...Show All

  • SharePoint Products and Technologies MOSS 2007 + Win SPoint Svcs Srch + Implicit Conversion Error

    Hi All, We are implementing SharePoint 2007 for an internal document management project. I'm having an issue with configuring the Windows SharePoint Services Search Service. I enter my domain user accounts, DB Server and DB Name which is all OK. I attempt to start the service and receive 'Could not access the Search service configuration database' There is nothing in the SharePoint logs which suggest any problem, however when I profile the SQL Server, I get the following error: Error: 102, Severity: 15, State: 1 The code in question is calling a SP: declare @p2 nvarchar(64) set @p2=N'C:\Program Files\Microsoft Office Servers\12.0\Data \Applications' exec dbo.proc_MSS_GetConfigurationProperty @Name=N'indexLocat ...Show All

©2008 Software Development Network