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

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

ThePope78705

Member List

DavidP5
rohit nagesh
accident
jam281
R1ZWAN
DR Wellcome
kid_kaneda
Matador139
QuantumMischief
David Scherf
Codeblack
FredV
Fayez Mutairi
ssfftt
Predator14567
fel lobo
rako77
Behn26
davep1553
micronax
Only Title

ThePope78705's Q&A profile

  • Visual C# C# name

    I recently saw the name of this programming language depicted like:<br> HTML: C<sup>#</sup> Is this -somehow- official never seen that! The only names of C Sharp AFAIK: C# C#.NET Visual C# Visual C#.NET I guess the html code you posted is just a formatting/layout thing to provide the # (sharp) character a subscript formatting ...Show All

  • Visual Basic Best method to restrict input

    I need to restrict the input in a text box to '0 to 9' max 10 digits or 'NA' max 2 char. allowing for the backspace. Can anyone suggest the best method. If regex is suggested I would need the formula. change the textlength to 10 and on the keypress event, check to see if the character pressed is numeric. if not, set e.Handled = true; private void TextBox1_keypress (object sender, KeyPressEventArgs e) {    if (!Char.IsNumber(e.KeyChar) && !Char.Iscontrol(e.KeyChar))    {       e.Handled = true;    } } ...Show All

  • .NET Development stack overflow and memory corrupt when use DsBrowseContainer

    [DllImport("dsuiext.dll", CharSet = CharSet.Unicode, SetLastError = true)] public static extern int DsBrowseForContainer(IntPtr infoHandle); public delegate int BffCallBack(IntPtr handle, uint message, IntPtr param, IntPtr data); [StructLayout(LayoutKind.Sequential)] public struct DSBrowseInfo : IDisposable { /// <summary> /// size of structure in bytes /// </summary> [MarshalAs(UnmanagedType.U4)] public int size; /// <summary> /// dialog owner /// </summary> public IntPtr handle; /// <summary> /// dialog caption text (can be NULL) /// </summary> [MarshalAs(UnmanagedType.LPWStr)] publ ...Show All

  • SQL Server & character in Select statment

    Hi Folks If I wrote this in QA what does it mean Declare @X INT Set @X = 2 Select (@X & 8) What & do in this select statment Thank you Shallu is Right, but i would like to add somthing to it The & performs the BITWISE AND operation like in this case Binary of 2 is 0010 Binary of 8 is 1000 now both of these performa AND operation bit by bit 0010 1000 (AND) --------- 0000 (Result) --------- you can even performa any of the logical operation like & => AND | => OR ^ => EOR ~ => Negation Regards, Gurpreet S. Gill ...Show All

  • Visual FoxPro send direct email from visual foxpro 9.0

    How to send e-mail from visual foxpro 9.0 without opening outlook Dave M. wrote: Unfortaunaly Now days Most ISP’s Block sending email from third party SMTP Servers, (Probably because of spammers). So you may need the following as well, this will specify a specific SMPT to use and provide the required info to connect to it. Thanks for jumping in with that, Dave. It reminded me that I forgot to mention that the easiest was to configure CDO is to make sure that Outlook Express (not Outlook) is installed and configured on the client machine. That way the necessary registry entries are there. It is not necessary to set Outlook Express as the default e-mail clinet. Installing and configuing is enou ...Show All

  • Visual Studio 2008 (Pre-release) Visual Studio Crashes When attempting to edit xaml file.

    Visual studio just crashes on me as soon as I try to open my xaml file. I'm attatching it below. <Window x:Class="WinFXMManager.Window1" xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml " Title="WinFXMManager" Height="540.8" Width="796.8" Loaded="OnLoad" > <StackPanel x:Name="MainPanel"> <StackPanel.Resources> <Style x:Key="MyContainer" TargetType="{x:Type ListViewItem}"> <Setter Property="Margin" Value="0,1,0,0"/> <Setter Property="Height" Value="21"/> <S ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. simple projectile motion physics??

    im pretty new to gamedev, so simulating physics is new to me too. i know the projectile motion formulas, im just having trouble applying them. is there any "tutorial" on projectile motion physics for XNA basically, someone suggested to do "scorched earth". im trying to get the hang of just some simple projectile before i apply it to a game. i know i should basically have to just enter the initial velocity vector and the angle. then have it passed to a function that gets the initial x velocity, and initial y velocity. also, im assuming that whatever i get for y-velocity should be negative as "up" is negative in the XNA graphics. then, after each update, it should find the current change in position for x and ...Show All

  • Windows Forms A DetailsView Control for Winforms?

    Hello, I have gotten spoiled by the new DetailsView control for ASP.Net 2.0 which encapsulates all of the dirty work needed to switch between viewing, inserting, updating, and deleting for a databound object. Now that I am working on a Winforms application I'm trying to figure out the best practice for handling these rather common tasks. I dislike the look and feel of "in place" editing on the grid view control. Do you typically create seperate forms for inserting/updating/viewing Do you group these items into different panels or group boxes and then play the "hide the unused control" game Do you simply use the same form for these actions and simply disable the textbox (or other editing controls) for view m ...Show All

  • Visual Basic KeyPress Event e.KeyChar

    Does e.KeyChar only return certain characters Is there a way to get keypress to fire when I press F5 or any of the function keys Yes, it is only raised on characters. Use keydown/keyup to handle non-character keypress events. Read the remarks http://msdn2.microsoft.com/en-us/library/system.windows.forms.control.keypress.aspx ...Show All

  • SQL Server help with percision?? if you enter a number in the trillions such 9,999,999,999,999 .net or sql management studio cannot display

    can you please explian this chart: The operand expressions are denoted as expression e1, with precision p1 and scale s1, and expression e2, with precision p2 and scale s2. The precision and scale for any expression that is not decimal is the precision and scale defined for the data type of the expression. Operation Result precision Result scale * e1 + e2 max(s1, s2) + max(p1-s1, p2-s2) + 1 max(s1, s2) e1 - e2 max(s1, s2) + max(p1-s1, p2-s2) + 1 max(s1, s2) e1 * e2 p1 + p2 + 1 s1 + s2 e1 / e2 p1 - s1 + s2 + max(6, s1 + p2 + 1) max(6, s1 + p2 + 1) e1 { UNION | EXCEPT | INTERSECT } e2 max(s1, s2) + max(p1-s1, p2- ...Show All

  • SQL Server BULK INSERT fails with Msg 511 - Cannot create a row of size x which is greater than the allowable maximum of 8060.

    I am running the following BULK INSERT statement: BULK INSERT WEBLogs.dbo.WebLogEvent FROM 'H:\mydirectory\myfile.txt' WITH (BATCHSIZE = 100000, DATAFILETYPE = 'char', FIELDTERMINATOR = '\t', MAXERRORS = 1000000, TABLOCK) The insert failes with this error: Server: Msg 511, Level 16, State 1, Line 1 Cannot create a row of size 8666 which is greater than the allowable maximum of 8060. The statement has been terminated. There is nothing I can do about the bad data, but I would like for INSERT to simply ignore the bad record and move on. Is there a setting that will enable such behaviour Thank you! No. There is no setting to enable such behavior. This is the physical row size limitation in a ...Show All

  • Windows Forms GridView basics

    I'm a .Net newbie and having some problems. Boss wants me using code instead of all of the control features of GridView In my GridView, I have a ButtonField to make row selectable followed by 3 visible BoundFields, followed by 1 hidden BoundField. < asp : ButtonField CommandName ="SelectRow" DataTextField ="Description" Visible ="True" HeaderText ="Description" SortExpression ="Description" /> < asp : BoundField DataField ="Display" HeaderText ="Display" SortExpression ="Display" /> < asp : BoundField DataField ="UpdateDate" HeaderText ="Update Date" SortExpression ="UpdateDate&qu ...Show All

  • SQL Server Deploy application that uses TraceReplay and TraceFile TMO classes

    Hi, I have a .NET 2. 0 application that references SMO and uses TMO classes such as TraceReplay and TraceFile. I was under the impression that for this application to work, if SMO is installed (which means MSXML 6.0 and SQL Native Client is also installed), the application should work. But I have started to see errors like: ....Could not load file or assembly 'file:///C:\Program Files\Microsoft SQL Server\90\Tools\Binn\pfclnt90.dll' or one of its dependencies. The system cannot find the file specified. File name: 'file:///C:\Program Files\Microsoft SQL Server\90\Tools\Binn\pfclnt90.dll'..... and ....Could not load file or assembly 'Microsoft.SqlServer.Instapi, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XML TOOL KIT HELP

    hey there was wondering if any one is able to give me a few pointers on XNA. trying to create a toolkit using xna that will allow me to design levels, but also want to export the created level to an xml file and also reloaded it into my main game engine from the the xml file, any pointers cheers, thanks for there help This and this should get you started. As for exporting the created level, create a Level class that's serializable: [ Serializable ()] class Level {     //properties and methods here } To save it you just do: //member of the level class public void Save() {     BinaryFormatter bf = new BinaryFormatter ();     FileStream fs = new FileStr ...Show All

  • Software Development for Windows Vista LoadLibrary - AppVerifier error

    Hi, I'm using LoadLibrary function in my project and on some conditions it causes an AppVerifier error. Here is the code sample: #include "stdafx.h" #include <atlstr.h> int _tmain( int argc, _TCHAR* argv[]) { CString strLib( "test.dll"); // test.dll is a sample empty dll library LPCTSTR lpcszLib = strLib; // to make sure LoadLibrary receives LPCTSTR argument // LPCTSTR lpcszLib = "test.dll"; // this works fine ( here lpcszLib is being placed in different memory location ) HMODULE hModule = LoadLibrary( lpcszLib ); return 0; } And the error is: < xml version="1.0" encoding="UTF-8" standalone="no" > ...Show All

©2008 Software Development Network