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

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

Mable

Member List

GraemeP
Liam404
DiamonDogX
Juan Carlos Trimiño
Rhubarb
sally_de
Ravonies
Enkht
Ishai Sagi[MOSS MVP]
William Lowers
Mike Haro
R2DJ
pjwhams
GraceCai
Sincas
IceAngel89
Airmax
JavaBoy
rsknowles
bencoffin
Only Title

Mable's Q&A profile

  • .NET Development using with try-catch or try-catch-finally ?

    What do you use using statetment or try-finallly With the using statement... what is the best way to catch a exception Now, i'm using a try-catch-finally for the connection and using for the commands, dataadapters, datareaders ... etc.., but i don't know if is the best way. Regards. When disposing a connection it automatically closes the connection. You can verify this with a tool called reflector that shows you the code from .NET. Greetz, Geert Geert Verhoeven Consultant @ Ausy Belgium My Personal Blog ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Upcoming Starter Kits

    From yesterday's webcast (where was everyone ), it was mentioned that a puzzle starter kit would be included in the RTM version and that the XNA Racer starter kit would come with the Creator's Club membership. I didn't get a chance to confirm this. Is this the case Also, are there any plans for other starter kits down the road Joel Martinez wrote: There was a webcast thems XNA people are slackin' with the blog posts then ... because I think I've got just about everyone involved in xna on my rss reader :-P or are you talking about the channel9 video Nope, this was an MS Events webcast . I've downloaded the Channel 9 videos but haven't checked them out yet. Joel Martinez wrote: As far as starter kits, haven't the ...Show All

  • SQL Server sorting

    I have a report with a table that lists employees. I want the manager to be the last employee in the list. I have a field in the table view_code that is used to designate between an employee and the manager. In Enterprise Manager when I sort by this view_code the manager is displayed last. In RS the manager is displayed alphabetically along with everyone else. Any help is appreciated. I think want you want can be accomplished using an expression for the sort. Try something like this for the expression: (I'm assuming that when view_code is true, the employee is a manager. Otherwise, just a normal employee) =Iif(Fields!view_code.value = TRUE, "zzz", "") + Fields!employee.value Then sort by "asce ...Show All

  • Software Development for Windows Vista Reg:Sql state persistence

    Hello everbody, I have a console application to host a simple state machine workflow where first activity is LogActivity and second activity is Listen activity waiting for human response to complete the workflow. There are 7 different roles (ranks of the employees).Here each user has is own roles and it should be reviewed by his superior. I'm facing a problem instance id can't be delivered and work flow with id not found in state persistence store Thanks and Regards, Santosh Thanks jon, for your reply i'm just want to know using sql Tracking profile we can avoid termination of workflow instance Thanks&Regards, Santosh ...Show All

  • SharePoint Products and Technologies Update deployed UDF assemblies without restarting AppPool or IIS?

    Hi, I have a UDF assembly deployed on a Sharepoint Site. Whenever I need to update the UDF assembly I get errors as the ASPNET process has locked the dll. I usually stop the app pool configured on the site,update the dll and then start the site. Is there a better approach without stopping the app-pool Though this is a more of ASPNET question, it still needs to be here. In ASPNET applications mebbe we cud have enabled shadow copy on the AppDomain. Will that approach work here Unfortunately the only way to update it is to recycle the app pool. Here's a link to your three options, but recycling the app pool is the least disruptive that will still allow you to update the assembly: http://blogs.msdn.c ...Show All

  • Visual Studio Tools for Office Infopath 2007 Default Values

    using VSTO to create infopath template. I can not find the menu that used to set the default values, it used to be under tools Can you please give me some more details What default values are you looking for Is the tools menu you mention in InfoPath or in VSTO Thanks! Eric ...Show All

  • Visual C# How to access a generic property argument in the following example:

    The calling code looks as follow: Session[KeyName] I need to know the value of the KeyName inside the Session property below. private static Dictionary < string , object > m_Session = new Dictionary < string , object >(); public static Dictionary < string , object > Session {       get        {             //need to check here whether a requested dictionary KeyName             //exists before attempting to return its value.             return ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA with VertexBuffers only? (No loading content)

    I'm trying to create just a simple test app that draws some triangles on the screen.  I don't want to load any models, just use a VertexBuffer and IndexBuffer right now.  I load the buffers and set them on the GraphicsDevice.  When I call DrawIndexedPrimitives, I get the following error: "Both a valid vertex shader and  pixel shader (or valid effect) must be set on the device before draw operations may be performed." After some searching, I found a few people mentioning that your graphics driver must support vertex shader 2.0 and pixel shader 3.0.  The card isn't all that old, but to be sure, I checked the GraphicCapabilities on the GraphicsDevice and both the vertex and pixel shaders are 3.0.  So I don' ...Show All

  • Windows Forms Login Form connected to access database

    Hi, I am trying to do a login thing in VB2005 Express, but I have an access database with the usernames and passwords and other stuff like names in it, and a login form that asks for a username and a password. I would like there to be a posibility of an unlimited number of users for my application and there to be a login, and the possibility of different areas of the application to be avaliable to different users using a "trust" column. I would also like the user's name to be displayed on the main page. I have managed to get the USERNAME on the main page, but not the person's name, as I have not managed to interface to the database yet. I have added the database to the project, but have not managed to query the database; ...Show All

  • .NET Development StartMenu/Start Button

    I'm looking for a way to make the windows Start Button appear pressed. I have tried sending BM_SETSTATE but this doesn't work properly with the start button. It's meant to make a button appear pressed but not actually send a mouse down event. DECLARES: Declare Function SendMessage Lib "user32" Alias "SendMessageA" ( ByVal hWnd As IntPtr, ByVal wMsg As Integer , ByVal wParam As Integer , ByVal lParam As Integer ) As Integer Public Const BM_SETSTATE As Integer = 243 CODE: SendMessage(TaskBar.StartButtonHandle, Me .BM_SETSTATE, 1, -1) Has anyone ever seen another way of making a button appear visually pressed How about actually drawing the start ...Show All

  • Windows Forms deploying the data base file

    HELLO I am working to make my vb.net application, So my application depend on database file where I stored all the data..... my problem is : when the user setup the application on his machine he can find the database file (MS access file MDB)...and easly can take it or open it seperatly and use it without the application....So I want to protect my database and prevent the user to access the database file... I know that I can make a password or make the database file as hidden file..but because the database file is verry important So I want more protection. the summery: I am working in dictionary application so the database is the most important , I sow many smiler applications and I could not access their database file.....I want to ...Show All

  • Windows Forms ListView is not showing groups

    I am using VS 2005 and trying to show some strings in ListView in Three groups. I have tried creating groups both by code and desingner. No one works. Can any one point out some reason. The ListView is using 'Details' style. But I have tried with 'List' style as well. Hard to guess what you already tried. Try doing it from scratch with the designer. Drop a LV on form, View = Details. Right click LV, edit columns, click Add. Edit groups, click Add. Edit items, Add, set the Text property. You should now see a group. ...Show All

  • Visual Studio Express Editions Just a quickie

    In a previous post I asked how to get a button to stay at the bottom of the form after the form was resized, this question is a follow on . If I place, say, three buttons and a textbox in a panel, then enter the code to keep the panel always at the bottom, would the Buttons and Textbox stay with the panel Panel stay at bottom code I think this would be better than Button One stay at bottom code Button Two stay at bottom code Button Three stay at bottom code Textbox stay at bottom code A longer answer would be that all controls by default stay fixed to the upper left corner of their parent container control. Unless you change that behaviour with changing the anchor property. If you place 4 buttons ...Show All

  • Visual Studio Tools for Office Microsoft Office Access 2003 Developer Extensions and Visual Studio 2005

    It's truly unbelievable that there appears to be no solution to this issue. After searching countless hours and getting caught in endless iterations following MSDN links, I still have no answer to the question that really shouldn't be that difficult. Microsoft advertises that the Microsoft Office Access 2003 Developer Extensions are part of Visual Studio 2005. I talked with a Microsoft representative who confirmed this before making the purchase of their product. I received the product and installed it, but there is nothing in the documentation that talks about the extensions. I simply need to deploy an application developed using Microsoft Office Access 2003 to a computer that doesn't have Microsoft Office Access 2003 installed on i ...Show All

  • Visual Studio Express Editions Random numbers

    I want that some variables have a random number. I used that code: var1 = Int(Rnd * 25) var2 = Int(Rnd * 25) Var3 = Int(Rnd * 25) But I'v got still a problem. The variables haven't a real random number. When I start my program then are var1, var2 en var3 = 17,14,13. Now there isn't a problem. It looks like it are random numbers. But when I quit the program and I restart it. var1, var2 and var3 are again 17,14 and 13!!! Is there a command that give me each time other values. So real random In a nutshell, here's how to do it: randomize() var1 = Int(Rnd * 25) var2 = Int(Rnd * 25) Var3 = Int(Rnd * 25) ...Show All

©2008 Software Development Network