Software Development Network Logo
  • Windows Vista
  • VS Express Editions
  • Architecture
  • VS Team System
  • Visual C#
  • Microsoft ISV
  • Visual FoxPro
  • Windows Forms
  • Smart Device
  • Windows Live
  • Visual Basic
  • Visual Studio
  • Game Technologies
  • .NET Development
  • Visual C++

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

PainlessProd

Member List

m_3ryan
daschneller
xyber
pc-coholic
HamidFULL
Stefan Wenig
foobar-12
anasilk
JJoergensen
Hedroj
Mark FMJ
Julie Russell
S.Guhananth
Jordy
G. Arends
CrazyBinary82
paranoid
Lee Brimelow
avetryuk
NaudePaul
Only Title

PainlessProd's Q&A profile

  • .NET Development System.Threading.Monitor.Enter (under the hood)

    What do the threads that are locked out do when they are locked out And does the Sleep call help get { if(dsUsers == null) { if(IsdsUsersLocked) System.Threading.Thread.Sleep(50); lock(UsersPadlock) { if(dsUsers == null) { IsdsUsersLocked = true; dsUsers = (3 sec call to the database server accross heavy network traffic); IsdsUsersLocked = false; } } } return dsUsers; } The sleep call appears to help when dealing with 100 ...Show All

  • SQL Server FTS indexable table column

    Hi, how can I programatically identify if table columns are eligible to include in a FTS catalog index I can do this: SELECT COLUMNPROPERTY (object_id('Person.Address') , 'AddressID', 'IsIndexable' ) but what I'd like to do is: SELECT COLUMNPROPERTY (object_id('Person.Address') , 'AddressID', 'IsFullTextIndexable' ) but that property doesn't exist. The best I got sofar is to compare data types with what the documentation says, so ...Show All

  • Visual J# auto Import

    Is there anyway in VS 2005 to auto load import references in J#. I use the javax.swing.JOptionPane in most of my projects and was looking for a way to load it automatically into new programs. Thanks for any input. Let me get your question right. Are you looking for a way to add a reference automatically to your project if you refer some type from a particular DLL ...Show All

  • Software Development for Windows Vista Offloading of workflow activities

    One issue I've been thinking about with respect to workflows is how to deal with distributing work when one machine is not sufficient for processing all the instances of a single type of workflow. My thought originally leaned towards hosting the same workflow type across multiple machines and with some custom form of correlation to know which machine a particular instance of a workflow is running on. Then I thought of another idea. What do you g ...Show All

  • Windows Forms Why didn't DataView.Sort support Expression like Parent.Price ?

    Why didn't DataView.Sort support DataColumn.Expression like Parent.Price   :( Explain me pls.  Subject. (And you can add that column to your table using an expression, like    MyDataSet.Tables["childTableName"].Columns.Add("newColumnName", typeof(string), "Pare ...Show All

  • Windows Forms Custom Panel-Type Control

    When I place a TableLayoutPanel on a blank form, and then add a Button to the top-left (0,0) cell, the following code is generated: // // tableLayoutPanel1 // this .tableLayoutPanel1.ColumnCount = 2; this .tableLayoutPanel1.ColumnStyles.Add( new System.Windows.Forms. ColumnStyle (System.Windows.Forms. SizeType .Percent, 50F)); this .tableLayoutPanel1. ColumnStyles .Add( new System.Windows.Forms. ColumnStyle (System.Windows.Forms. ...Show All

  • Visual C# Strange prolem with Culture settings

    Hi, We are writing the .net application that should always work in en-US culture, regardless of the control panel settings. I was able to force the GUI culture to be en-US by the following code Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-CA", true); Thread.CurrentThread.CurrentCulture = new CultureInfo("en-CA", true); After that the DateTimePicker components are always displayed in en-US cultu ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Pass int array to the pixel shader

    I want to pass an int array to the pixel shader.  I used SetIntArray(name, val)..the problem is that in the shader I do not know the exact size of the array, therefore in declaring it i am trying to use an int *.  It seems as if the compiler does not like this. Is is it possible to use pointers in the shader   If not how can I pass a variable length array to the shader can someone give me an example of the usage of this function ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. "Programming RolePlaying Games with DirectX" help

    Has anyone else read this book I am a current student at the Art Institute and recently purchased this book. The code they have is based on DirectX9.0b, so it requires a lot of changes from IDirect to ID3X...and I just started learning DirectX with this book. I'm just wondering if anyone else read this book and were able to confront those errors. Anyone know any good resources to learn DirectX9 and/or tutorials on creating an ideal DirectX wrapp ...Show All

  • Visual Basic DataSet/Recordset Help

    Hi, I've very new to VB.net and need to modify some code to a custom application so that it functions properly. I need some advice on the best way to go about the following problem: I have two recordsets which were created from some user interaction. Each recordset contains more than one record, and in some cases, they contain the same exact record. Currently, my program will query data from a SQL server database, return the data, fill ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Button Masking and Custom Cameras in the DXUT Framework

    I'm currently going through the DXUT framework to try and learn how things are actually done, but I've got stuck on the two topics in my thread title. The Mouse Button Masking in the DXUT has some strange things i don't understand the reason for. rotateModelButtonMask = ( int ) MouseButtonMask .Left; zoomButtonMask = ( int ) MouseButtonMask .Wheel; rotateCameraButtonMask = ( int ) MouseButtonMask .Right; ... public override ...Show All

  • SQL Server Help files for MS SQL Management Studio Express?

    Hi Are there any specific Help files to download for SQL Server Management  Studio Express . I thought I saw a link the other day, but I am not sure anymore... Or is it part of the Book online for SQL Server Management Express I can't find reference to Studio in there... Thanks Gauguin   Hi, Here are some links for MS Sql Management Studio Express Help.  & ...Show All

  • Windows Forms Reading Excel Spreadsheets

    I need to create a VB.NET Windows Forms application that can read the data within an Excel spreadsheet.  But, I'm not sure where to get started.  So far, I've found some articles how creating Excel macros, but not about what I want to ...Show All

  • Windows Forms How to get around using the SaveFile Dialog?

    I'm having a problem making a little program that is similar to a word pad. I need the contents of the rich text box to save to file without using the SaveFile dialog. As of right now i can use Streamwriter to do it, but it looses the rtf formatting. This is caused by making  string textField = this.richTextBox1.Text.ToString(); It saves the file fine and there is no prompt to save the file. The downside is that when you open the fil ...Show All

  • Visual Studio Team System Reports?

    Hello, how to create custom reports  Is there any tool Thanks Stephan  Stephan, I've provided instructions on creating reports at http://forums.microsoft.com/msdn/ShowPost.aspx PostID=13143 . Allen ...Show All

©2008 Software Development Network

powered by phorum