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

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

Brazzle

Member List

VeNoMiS
Biceps
Mr.Analogy
Valery Zharkov
Jerry Frame
David Ray
bpeikes
M.N. Ahmed Sahib
jimmy_t
dev_bih
slickred
David Parreira
Deraldo
NP Rudra
job44927
Jim Dunn
Kolja
python_and_chips
gdvl
NorthHaven
Only Title

Brazzle's Q&A profile

  • SQL Server how to properly qualify calls to sys.fn_*

    hello, i would like to use some sql code which is inside of a system stored procedure. when i "script as create" the procedure to see it's content all goes fine. but when i try to execute some sql code from the SP, the server cannot find some entities (functions, etc). example: script the procedure distribution.sys.sp_replmonitorhelpmergesession and the generated code will contain calls to sys.fn_replmerge_get_errormsgcounts( int ) how do i call that function TIA The way to call a general sys.fn_* function is as you mentioned and is correct. This specific function is accessible only to objects in the resource database (system objects) and not to user defined objects. So you c ...Show All

  • Visual Studio 2008 (Pre-release) property initializers and immutable classes

    The way property initalizers are now implemented, it is not possible to create classes that are immuatble that also support property initialization. Id like to propose the use of the readonly keyword on properties, which makes the setter accessible only at initialization time, and that readonly fields should also be accessible during initialization time. If the class implements ISupportInitialize (or something like it), then BeginInit/EndInit methods would be wrapped around the initialization. Consider this: class Foo : ISupportInitialize { private int _bar; public readonly int Bar { get { return this._bar; } set { this._bar = value; } } } Foo foo = new Foo { Bar = 12; } would get tra ...Show All

  • Visual Studio Express Editions Simulate hotkey press

    Hi all, I'm trying to simulate some hotkeys to activate a program (though MapVirtualKey in use with keybd_event didn't work). I also tried simple SendMessages and PostMessages, but they didn't work eather (neather did the Screen Keyboard from Microsoft). As I kinda gave up the SendMessage to the Program itself (Send a mouseclick to a specific window on specific coordinate)... I need to simulate the hotkey which is set in the program... I already tried: keybd_event(VK_NUMPAD1, MapVirtualKey(VK_NUMPAD1, 0), 0, 0) keybd_event(VK_NUMPAD1, MapVirtualKey(VK_NUMPAD1, 0), KEYEVENTF_KEYUP, 0) But that didnt work... If someone could help me, then please... The Hotkey can be Global Hotkey, DirectInput hotkey or somethi ...Show All

  • Software Development for Windows Vista Manifest files for Vista

    Hi, For some of the exes of my product, I need administrative privilege. So I embed them in my application with "requireAdministrator". It works fine on Windows Vista and prompts for allow/deny or administrator uname/password as applicable. But the same program has non consistent performance on previous OS versions(XP, 2003 Small business etc). It shows blue screen sometimes for the applications where these manifest files are embedded. One can avoid these blue screens if the embedded manifest file is also present in the same directory as the exe for other OS. I do not want to make my application dependant on the presence of manifest file in the same directory. Is there a way out Is there a tool to find whether an embedde ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. fail to upgrade dx 9.0b to 9.0c

    After successful installing the directx 9.0c, the dxdiag still showing directx 9.0b. The problem of unable to run programs that required upgrade persist. While insalling XP Pro SP2 I got a failure message on this file viaagp.sys was not able to be located. I also got that same message on this file mcdftreg.inf . Now my video sux and I can't play video games unreal tournament and also My videos are very choppy and do not play well. I checked my resources during the playing of videos and it is normal, proc is low, memory is not being slammed. Where Can I get these files for my computer. I have an HP Pavilion A645C and I tried installing their NVidia drivers but it is still not working ...Show All

  • Visual Basic Displaying a Label that shows a PictureBox behind it

    I have a VB 6 app I'm converting to VB 2005. It displays a series of JPG files in a PictureBox, and three labels. In the old application, the letters on the labels float over the image background because the labels' BackStyle was Transparent. But in the new version the labels (with a transparent BackColor) appear in a rectangle whose color is the BackColor of the underlying form. What's the secret to making the picture-box rather than the form appear behind the label text > I don't think you can make a child control appear outside the bounds of its parent I think you're right. > If you have SizeMode set to Normal what about making the picture box the same size as the form and make all the ...Show All

  • Smart Device Development Question for Ilya Tumanov

    You closed this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=555177&SiteID=1 Let me firstly say that I appreciate your attempts to help by commenting on my threads. Thank you. But could you please consider the effect of closing peoples questions without soliciting their permission first. Browser based applications running on smart devices with a local server should be placed in the smart devices general topic area, and not in asp as you suggest. No-one in the asp forums is likely to join a thread about smart devices. So I think your assertion was wrong. I also think it impolite to close a thread without even asking first. There is more discussion to be had on the capabilities of the pda local web serve ...Show All

  • SQL Server SQL Server 2000 - Generating new field containing the sum of other rows

    Hi guys, This one seems to be a difficult one: I have a table called "myTable" with a field called "myField" (which contains only numbers). I need to generate a new field where each row is the sum of the row in field "myField" plus all the values in the rows before it. something like this: myField NewField 100 100 = 100+0 200 300 = (200+100) 300 600 = (300+200+100) 400 1000 = (400+300+200+100) 500 1500 = (500+400+300+200+100) I'll apprecciate any smart help. Aldo. I can't answer that question without knowing the structure of your table, the data in your table and exactly what operation you are trying to perform. This code will create ...Show All

  • .NET Development Is EventHandler is heavy to use?

    I have one application and in that I have to show the waitcursor whenever any operation starts. NOw the operation starts from one class file. and it's not a form. to change the cursor we need to give the form or control reference. Now I want to use eventhandler for this. so whenever i need to change teh cursor i can raise one event and on that form application i can change the cursor. but i have read somewhere it's heavy to use eventhandler. don't use it for small purposes. Why it's heavy Can anybody tell me. If you're interested in how it works, I'd recommend you download Lutz Roeder's Reflector . It is a disassembler that generates highly readable code. Another good source is the Shared Source source code (Rotor) tha ...Show All

  • Visual Studio Team System Hosted Team Foundation Server

    I tried Googling for this and my initial search wasn't promising. Does anybody know of a hosted Team Foundation Server service Thanks. We are looking to launch VSTS as a hosted service in Jan 2008. look out for details on www.hostedvsts.com after Jan 1st 2008 Thanks JD ...Show All

  • Visual C++ error LNK2019 when compiling C++ app

    Hi, My problem seems to be with compiling my C++ app into an exe file. I can build the files fine. But, when I use debug to make the .exe file, it comes back with some errors (at end). What's weird is these are all methods being implemented or calling a method, nothing else, which leads me to believe that there is some option that I have to set. This error is something I have never seen before. Here is some source: status = RpcStringBindingCompose( NULL, // UUID to bind to. ( unsigned char *)( "ncacn_ip_tcp" ), // Use TCP/IP protocol. ( unsigned char *)( "192.168.1.100" ), // TCP/IP network, the same machine as server ( unsigned char *)( "9191" ), // TCP/IP port to use. ...Show All

  • Visual C# Console problem. New, I swear.

    I am testing TCP connections locally on my PC. I created two forms: Server and Client. I start the Server form first. There is code for AllocConsole in both of these Widnows Forms applications.: [DllImport ( "kernel32.dll", SetLastError = true )] [return: MarshalAs ( UnmanagedType.Bool )] Static extern bool AllocConsole ( ); After testing some methods unsuccessfully for a day or so I downloaded a few classes from MSDN site describing server side code: ms-help://MS.VSCC.v80/MS.MSDN.vAug06.en/dv_fxnetwork/html/13624cd3-f5c5-4950-8cda-31273b1fa6d1.htm I made some slight modifications, essentially negligible. I ran the forms and to my surprise found that the Server form did not appear at all, only the Console showed up. Puzz ...Show All

  • SQL Server SQL Server Express, Simultaneous ,Multiple Application Access?

    Hi Everyone, I have a software solution that consists of two separate applications that share a SQL Server Express database on a single computer. Everything is working great, except when both of the applications want to access the database at the same time. All I can find is information on configuring multi-user access in a distributed system. I'd appreciate any information on configuring multi-application access on a single computer. Thanks, Mike For what it's worth, in the connection string I had to include the ".mdf" extension for the AttachDbFilename attribute. E.g., ...AttachDbFilename=C:\src\LocalDataCache\DB\MyLocalCache.mdf; ...Show All

  • Visual Studio Class without namespace (in root) not generated

    I have a class in the root, hence no namespace. I see the class in the XML input file, but not in the generated help file(s) in both website and CHM mode. Assuming you are using the help file builder, click on the Namespaces button and make sure that the "(global)" namespace is checked so that it is included in the build. It's excluded by default as it normally only contains compiler generated classes that can't be documented. Eric ...Show All

  • Visual Basic Crystal Report And Similar Tool For Printing Document

    May i know is there any tutorial on Crystal Report, i want to retrieve some data from database, format it and print it out. Apart from Crystal Report, what other tools is suitable for this Thank you. I have posted the code below for two classes that I created. One is a base class for all crystal reports and the other is an example of how you would consume this base class. Although I have my own db wrapper you should be able to pick out the bits you need to modify to get it working in your own app. You will need to create a dataset schema and use this to create your crystal report. Then create a stored procedure that will return data in the schema format. You will also notice that I have threaded the report ...Show All

©2008 Software Development Network