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

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

blanc0

Member List

Prash1
CirdanCelebrindal
JamesC2000
Andrew Beery
Ben Amada
India_2007
Tryston02
Waiman Li
Peterlih
flandercan
Chris Aus
TeamFlex
mail2amar
Alexei_shk
Tryst
Alan Tolmich
newbiedogg
Emy_P
Kaos
Ianmac
Only Title

blanc0's Q&A profile

  • Visual Studio $$ synax in the parser.y, 'Babel.Parser.LexValue' to 'string'

    What is this "$$" syntax in the parser.y file and how are you supposed to pass string parameters to a C# class It looks like it's being used to create a new instance. The Form in this case is a C# class. %% ..... Form : KWFORM Name { $$ = new Form ($2, $4); } ... %% When I try the same thing I get: Error 3 Argument '1': cannot convert from 'Babel.Parser.LexValue' to 'string' c:\.....\generated\parser.y .y files follow the Bison/YACC format for developing compiler tools. It follows its own syntax, but also mixes in the target language into which you are compiling. For example, the above states that when the "KWFORM Name" token pattern is matched, then the C# code $$ = new Form($2, $4); is run. Bison/YACC ...Show All

  • Software Development for Windows Vista Getting a Device Context to call ExtEscape?

    Is is possible to get a device context from the XPS subsystem so you can call ExtEscape() win32 function from within a print job while doing normal XpsDocumentWriter calls I think you better send the specific printer commands down to the printer by the other channels (e.g. winsock). Or embed your so called specific commands into the xps PrintTicket (you have to follow the rules of the print schema). You can call win32 APIs in .Net (in c#, use DllImport attribute to declare the API), so you can call CreateDC() to create a device context of a specific printer driver. When you call win32 ExtEscape(), GDI will call DrvEscape() in the xps driver core (mxdwdrv.dll) indirectly by the ...Show All

  • Visual Studio Express Editions bacis progam problems

    #include <iostream> using namespace std; int main() { int age; cout<<"Type a number between 1 and 10: "; cin>> age; cin.ignore(); if ( age < 10 ); { cout<<"Yay you can follow instructions\n"; } if ( age >= 11 ); { cout<<"were going to try this again and you going to do it right\n"; } for ( int x; age < 10; ); { cout<<"Type a number between 1 and 10: "; cin>> age; cin.ignore(); if ( age < 10 ); { cout<<"Yay you can follow instructions\n"; } if ( age > 10 ); { cout<<"w ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Animation sample?

    Great work on XNA GSE 1.0! I downloaded it today and signed up for the 360 Creator's Club. Getting the basic engine code I've been working on under Windows for the past few weeks compiling and running on 360 was far easier than I was expecting (though it would be nice if the IDE had better support for projects that target both platforms). One aspect of the engine I've been avoiding for a while is mesh animation, as there has been talk around here for weeks that a sample would be released and I'd much rather start from a sample, even if it is very simplistic, than dig though the documentation enough to figure out how all the classes fit together. So my simple question is.. any updates on this sample Has it been made available and I'm j ...Show All

  • Visual Studio Tools for Office Can a VSTO 2005 Excel Application be started from a web application?

    This honestly has become about as frustrating as ever, folks. I've read post after post after post, just about every "How To" written, and just about every last bit of the VSTO architecture on MSDN. I know that an Excel application can be called from a Windows Form based on 10,000 posts and examples. I haven't once found anyone who tried to start an instance of Excel from a button click event off of a web page. I know that that may sound kinda silly, but that's what my client wants. So - first question: Can an Excel application (i.e. an Excel worksheet with C# code-behind, developed using VSTO) be opened using the C# code-behind for an ASPX (2.0) web application Currently, I get a "Remote Procedure Call failed" error, ...Show All

  • SQL Server SQLCMD - Copy all procedures & code

    Hi All, Our Management studio for sql2005 is damaged and we only have way to copy through SQLCMD - command line. Please can any one provide me the script to copy all the user defined Procedure , Functions & Triggers code from database. Thanks in advance hi boston, if you have management studio intalled on other pc you can use it to connect to your box remotely regards joey ...Show All

  • Visual Studio 2008 (Pre-release) WPF Overview for Executives

    An executive at my company expressed interest in WPF to me, but is not quite clear on what it provides over and above other UI platforms. If he knew what it is and can do, it would be easier for him to "sell WPF" to clients (i.e. provide me with the opportunity to work with WPF on the job!). Does anyone know of a good overview with images and/or videos which would help someone in that position gain a high-level appreciation for what WPF is all about I've looked around, but most of the things I've seen get too geeky and stray away from ways to justify including WPF in a new application's technology stack. Sorry for the broken link, here it is again: http://msdn.microsoft.com/msdnmag/issues/06/01/xmlpaperspecification/defa ...Show All

  • SQL Server MDX OR condition

    Hi, How could i have an OR condition to retrieve something like this..... sum(Measure1 for condition 1 or condition 2...) and there is an And of dimension members in the condition if it was only an And of dim members....sum(measure, dim1.xyz, dim2.xyz) would do This is to be used inside a Calculation in a cube in AS 2000.  Regards         Hello: Here you have the queries for foodmart2000 cube. if the "or condition" is related to the same dimension, you can use sth like this: with set [ConditionSet] as 'filter([Promotions].DefaultMember.Children,[Promotions].CurrentMember.Name="Dollar Days" or [Promotions].CurrentMember.Name="Mystery Sale" )' me ...Show All

  • SQL Server QUESTION: Alter table in a Publication

    Can i alter a table included in a Publication I am having problems with that. If your compatibility is set to 80 then you are running in SQL 2000 mode. So you have to use the sp_repladdcolumn/sp_repldropcolumn to add/drop columns. ...Show All

  • Visual Studio Tools for Office Outlook Macro - send email separately to multiple contacts?

    Hi, I'm trying to write a macro for outlook 2003 to send email different contacts separately that means when some person receives the email, they will see their email address in the To section. Currently if I use BCC, the person will see the same email adress for From and To. Do you know how to write codes to connect to the"new message" windows in outlook and all the controls in that windows Thanks. Ron, the magazine article led you astray. Putting multiple names in the Subject property ... just puts names in the Subject property. It has nothing to do with the recipients of the message. I'm afraid that it's unclear what you're seeking help with. This is a forum for creating applicat ...Show All

  • Visual C# Code Snippets for the Windowsforms and SmartDevices not showing in intellence

    I have just downloaded the entire snippets for c# ( Why MS did not add these i will never know.) and set the reg up correctly and the SnippetsIndex.xml... All is working but the Windowsforms and the SmartDevices ... they both have nested directorys.... here is my Reg Info %InstallRoot%\VC#\Snippets\%LCID%\Visual C#\;%InstallRoot%\VC#\Snippets\%LCID%\Refactoring\;%MyDocs%\Code Snippets\Visual C#\My Code Snippets\;%InstallRoot%\VC#\Snippets\%LCID%\OfficeDevelopment\;%InstallRoot%\VC#\Snippets\%LCID%\Application\;%InstallRoot%\VC#\Snippets\%LCID%\Connectivity\;%InstallRoot%\VC#\Snippets\%LCID%\Database\;%InstallRoot%\VC#\Snippets\%LCID%\Filesystem\;%InstallRoot%\VC#\Snippets\%LCID%\OS\;%InstallRoot%\VC#\Snippets\%LCID%\SmartDevices\; ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Animation sample

    MS had announce an animation sample some weeks before and you just told us, that i will be released soon, but the question is, what soon means...When will you release the example. All I need are some informations how to transform the bone matrices to absolute ones to transform the mesh. Shawn Hargreaves - MSFT wrote: There is a sample here: https://creators.xna.com/Headlines/developmentaspx/archive/2007/02/13/Skinned-Model-Sample.aspx Yes, this is exactly the same process professional game developers use. Except of course that they might be using a game engine that already implements this, or have some code to reuse from a previous game. You could get a similar res ...Show All

  • Visual Studio Express Editions Converting a ListBox to a TextBox

    I believe this is probably pretty simple.... I am creating a program to create a text file. The program is very simple. Upon load, you choose an active directory. The program then searches the active directory for a file type (in my case *.wma files) and returns the foundFiles into a ListBox (ListBox1). I have all of that figured out and working nicely. I believe what I need to do now is copy the contents of the ListBox into a TextBox so that I can export (even copy and paste would be nice, which I can't do with a ListBox) the files into a Text File. If I can just get the contents of the ListBox into a TextBox, I should be fine. How do I do that Why you ask I am archiving my music library onto CD and I want to be able to put the b ...Show All

  • Visual Studio Express Editions Having trouble updating underlying database

    For some reason i can not update the underlying database. Some times when i first run the app after all the controls are set up i get one viewing and one update and then i get a NOT able to COPY database or Can not Access..... This has something to do with the database not being in the debug bin folder...I am not in debug mode when this happens. I have followed the video line for line; step by step and i am having so much trouble with this... Here are my steps.. 1. start new project 2. add database to project 3. add datagrid to form 4. assoisate grid with dataset and binding source And this code in the behind-------- private void Form1_Load( object sender, EventArgs e) { // TODO: This line ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Performace: can't this thing draw any faster?

    I'm certain that I my code must have some critical inefficiency somewhere; I can run my favorite 3D video games at maximum settings, but my little DX app slows down to < 90 frames per second when it tries to draw 100 little boxes. Here's the code in a nutshell: protected D3D.Texture _texture; protected static D3D.Sprite _sprite; _texture = MakeTexture(); // ends up producing a 1x1 white texture _sprite = new D3D.Sprite(graphics); dx_graphics.BeginScene(); for (int i = 0; i < 100; ++i) { _sprite.Begin(D3D.SpriteFlags.AlphaBlend); _sprite.Draw(_texture, new Rectangle(0, 0, (int)500, (int)500), new Vector3(0.0f, 0.0f, 0.0f), new Vector3((int)300, (int)200, 0.0f), Color.FromArgb(255, 255, 255, 255)); _sprite.End(); } dx_graph ...Show All

©2008 Software Development Network