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

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

AndrewVos

Member List

ottogbg
ahmed khadragi
MartinaL
Vudathu
HowardRichards
László Nánássy
Gulden
vasudupe
Kokula Krishna Hari. K
Finch82
alien-
me262
Rathin Padia
Andrei Faber
cmarshall26
MarkShep
mdrelyea
kkahara
Chris Holt
Azimuth
Only Title

AndrewVos's Q&A profile

  • Visual C# Else if statment

    Here is some of my code, I get 2 errors, how would i fix it [code]#pragma warning disable if (lcarrier.Text == "Altell") ; { endadd.Text == "@message.alltel.com"; } else if (lcarrier.Text == "AT&T"); { endadd.Text == ("@mmode.com"); }[/code] My 2 errors are ...... _ Invalid term else and ; expected when comparing text, always use the Equals() method, not the operator =   overall your code should be : if (lcarrier.Text. ToLower().Trim().Equals (" a ltell")) {                 endadd.Text = "@message.alltel.com"; } else if ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. 2D Hex maps

    Hi, I am new to C# and would like to know where I can find information on creating hexagon maps for 2D games I am interested in writing a turn based web game that will emmulate playing a board game. Players will have pieces to move around a map. etc. etc. I an currently watching microsoft's webcasts on the subject of writing games and general programming in C#. Any help would be greatly appreciated. Thank you, KWFields If you are planning on writing a web based game you will need to look at GDI+ functions and drawing pictures on the Web pages. If you plan to use the web as the communication transport and have a windows clients, then you can use DirectX. With DirectX you wi ...Show All

  • .NET Development Displaying and manipulating pixels of a non-standard image

    Language: C# I have written a (small) library of image processing functions that work on a System.Drawing.Image object. Works fine for BMPs and JPEGs and PNGs and the like. Yesterday my boss told me the next step is to be able to handle proprietary formats that some of our clients use. All of them follow a basic principle: some header, then pixel values. So to get started the first file format is simply pixel values as raw data. The pixels are stored as 16-bit unsigned words. So I've read a file in through a filestream and converted them to a byte[] the length of the file stream. This works for standard images (like BMP) fine; However I cannot just create an image object from the array of raw pixels. I will need to take my pixel values an ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Dynamically generated XACT projects

    I'll admit that I haven't even investigated whether this is possible or not. Figure I'll start by asking whether it's even feasible, or if there is another technique I should be thinking about. What I'm looking to do will involve dynamically generating .wav files during the build process of certain assets. Since all audio must be pre-processed via XACT, I was wondering if there was some way of programmatically generating an XACT project file, and then building it. Ideally, this will result in audio code that is both dynamic (ie. generated by the content pipeline), and compatible with the XBox 360. Thoughts That sounds feasible to me, although it will certainly involve some work :-) I'm not aware of any docs on the XACT project f ...Show All

  • Visual C++ Can't get debugger to work properly!

    I'm using Visual Studio 2005 Standard, and my C++ console program crashes unexpectedly so I am trying to use the debugger to find out the source of the problem. I set up a breakpoint, start debugging, and it breaks, but when I press F10 to step over, I get a message saying "No symbols are loaded for any call stack frame. The source code cannot be displayed." Then it gives me an option to see the disassembly code instead . It doesn't matter where I set the breakpoint, I always get this error message. Here's the output I get from the Visual Studio console: 'MIPS Assembler.exe': Loaded 'C:\Documents and Settings\Compaq\My Documents\Visual Studio 2005\Projects\MIPS Assembler\debug\MIPS Assembler.exe', Binary was not built with ...Show All

  • Visual Basic database report

    hello, i'm using ADODB on my vb8-access. before on vb6 i use data report designer to prepare a print, but here on vb8, how can i do that, without using crystal reports i would like to design my report just like report designer, is it possible or are there any turn around for this thanks hi, im able to create a dataset now, but i've notice that the sql is inside the dataset, how am i able to insert a query like this select * from roles where roles='" & txtroles.text & "' and remarks='" & cbrem.text & "' is it possible also i still have problem connecting to access with password on it thanks again sir ...Show All

  • Internet Explorer Development problem with IE7 - links suppose to open in the same page but it opens a new page in my website

    Hi i'm designing this website using dreamweaver 8, i used frameset method to devide the page into 3 frames top frame which contains the flash navigation menu, left frame which contains ads , right/content frame which contains the content of the website. when the user click any of the links on the menu it should be opened in the content frame , it worked fine in IE6 , but when i upgraded to IE7 things changed every link now opens in a new page! this is the flash code i'm using in each link getURL("../services_en/services_en.html" , "content"); content is the name of the frame that i wish all the links appear in. i've tried the <base target="content"> included in the head tag of the menu page but that d ...Show All

  • Visual Studio 2008 (Pre-release) consideration about XamlView

    Does anyone have tried the XamlView at http://www.codeplex.com/XamlView I have tried to use this tool to view my resource dll. The xaml content can be view almost as its original. Since I am developing a smartclient application, the dlls will be deployed to client machines. So how to avoid the design to be viewed directly Any suggestions Since Xaml files is treated as manifest resources files in your assembly, AFAIK, code can be obfuscated, but resources don't. so my idea is to customize the WPF's build engine to include your dedicated building task, the dedicated task should be responsible for encrypting the generated BAML stream using whatever encryption algorithms makes sense here(or you can use other methods here to & ...Show All

  • Visual C# c# InvalidProgramException

    Hi, I am auto-generating large (but simple) blocks of C# code, compiling to a dll then loading the dll via reflection. This seems to work fine for smallish test cases, but when generating larger programs otherwise similar code decides to throw the InvalidProgramException. The c# compiler version is 8.00.50727.42 from the .net framework sdk v2.0.50727. Is there an updated compiler I can try If not is there an appropriate place to report the bug with an example Cheers. Andy. You can post the code that is causing the problems here and we'll take a look at it. If there is simply too much code to post then you can ZIP it up and post it to one of the public, free hosting sites that allow temporary storage of ...Show All

  • Windows Forms datagridview "refresh" ok in debug mode but not after publish

    hello using VS 2005, i created a winforms application, on one form is a datagridview. it has a browse button that allows the user to browse for a file and adds a record to the underlying table private void btnBrowse_Click(object sender, EventArgs e) { if (openFileDialog1.ShowDialog() == DialogResult.OK) { pR_AttachmentTableAdapter.Insert( m_IssueItemID, openFileDialog1.FileName, false, DateTime.Now, Settings.Default.LoggedUser, DateTime.Now, Settings.Default.LoggedUser); pR_AttachmentBindingSource.EndEdit(); pR_AttachmentTableAdapter.Update(productionIssuesDBDataSet.PR_Attachment); pR_AttachmentTableAdapter.Fill(product ...Show All

  • Windows Forms ListView: (De-)select notifications in virtual mode

    I have a ListView control in virtual mode, single selection only. I need to get an event when the selected item changes, or the selection is removed. So far I found out: SelectedIndexChanged: It's hard to find the selected item (lv.SelectedItems isn't accessible in virtual mode), and it probably doesn't give me a "deselect" event ItemSelectionChanged: receives only "selected" events in virtual mode (used to get both "select" and "deselect" in non-virtual mode) VirtualItemsSelectionRangeChanged : receives only "deselected" events(e.IsSelected is never true, even if I remove the other handlers completely) When I put the respective code in both handlers, everything works, but it ...Show All

  • SQL Server special problem with Access

    I have try to take all our table from access to SQLSERVER 2005 But not all works, so is there away where i can not import a table from access but link a table from access to my SQL. I know it is the wrong way, normally sql is the backend, but i can't get all to work when i use my sql as backend, so if i can connect me to access from my sql and link some tables regards Alvin Sorry, did not understand that. Could you explain this in detail HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Visual Studio Express Editions problem:update datagridviews in master details application

    I've created a master/details application by vb2005 and access: choosing un item in listbox, relative data are displayed in datagridview. Problem:a cell loses the value inside and replace it with last put value. example: in listbox I've 2 item: A,B (id_padre) datagridview has 4 columns:id_figlio,id_padre,nome_figlio,cognome_figlio where first and second are readonly. I select A in listbox, I put some data in datagridview and so I have: id_figlio| id_padre| nome_figlio| cognome_figlio| 0 0 0 0 1 0 1 1 2 0 2 2 I select B in listbox, I put some data in datagridview and so I have: id_figlio| id_padre| nome_figlio| cognome_figlio| 3 1 5 5 4 1 6 6 5 1 7 7 If I select A now , datagridvie ...Show All

  • .NET Development how can i register multiple objects in a single .net remoting configuration file

    I have a class library i want each and every class to be a remote object in the remoting server.how can i put each and every object in the remoting configuration file. This is what the methods on the RemotingConfiguration class are for. ...Show All

  • SQL Server Install and Uninstall problem

    Mike, I am having the same issue, but a slightly different situation. I installed sql express...then thought I should uninstall and install sql express with advanced services...got the sa login error described in this thread but with error number 29521. the summary log says this...should I also send you the error log referenced in this log Microsoft SQL Server 2005 9.00.2047.00 ============================== OS Version : Microsoft Windows XP Professional Service Pack 2 (Build 2600) Time : Fri Jan 05 09:59:01 2007 Machine : myname Product : Microsoft SQL Server Setup Support Files (English) Product Version : 9.00.2047.00 Install : Successful Log File : C:\Program Files\Microsoft SQL Server\Setup Bootstr ...Show All

©2008 Software Development Network