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

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

RandyGephart

Member List

sekhar_nitt
Ishaq
Jeff Weinstein
ChuckM
Roger Glow
nickblair0
thiaygu
saarar
MikeDDI
thinkCode96
rosapdx
AsbjornRygg
rwrench
richi
Pim Vendrig
BZanten
beeaton
Scott_Piegdon
Keehan
Jerry017
Only Title

RandyGephart's Q&A profile

  • Windows Forms Disable Enter in GridColumnStyle

    Ok Now I have this code to insert into the inherited datagrid.     Protected Overrides Function ProcessKeyPreview(ByRef m As System.Windows.Forms.Message) As Boolean         Dim keyCode As Keys = CType(m.WParam.ToInt32, Keys)          If (m.Msg = WM_KEYDOWN Or m.Msg = WM_KEYUP) AndAlso keyCode = Keys.Enter Then         &nb ...Show All

  • SQL Server Compact Database Error Code: 0

    I am currently working in VB.NET with SQL Mobile 2005.  I am trying to compact a database, .sdf, using the SqlCeEngine Object compact(connectionstring).  When I use this code to compact a small database, only about 300KB, it returns okay however when I try to compact a larger database, about 9MB, it returns with a SQL Error Code: 0, "The operation completed successfully" however with no compacted database.  The code works however it only seems to work for smaller databases.  Does anyone have any ideas on how to correct this error or tell me why it returns with that type of error. Snuggs ...Show All

  • Visual C++ "Custom build step" of a project: execution rule ?

    Hi, I am presently using "Visual Studio 2005". I defined a project to generate a DLL X but I needed to do other operations on this DLL X to generate a file Y. So I added a "Custom Build Step" on the project file to generate the Y file. I defined Y as the output file and I even added X as an additional dependency file. I changed the execution order of the Custom Build Step and put it before the "Post Build Event". The problem is that the generation of Y seems to be unpredictable. Sometimes the "Custom Build Step" doesn't run, even if Y is outdated compared to X. And sometimes the "Custom Build Step" always run, even if Y is newer that X... In ...Show All

  • Visual Basic send mail

    Hi, i have problem in writing send mail codes. can someone pls help me regarding it i have written code to send mails but somehow there are errors. i have attach my codes below. when i click on the send button, an error message prompt out saying that "An Unhandled exception of type 'System.nullReferenceException' occured in testingMail.exe. Additional information: object reference not set to an instance of an object." Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim message As System.Web.Mail.MailMessage message.To = "li-ching.ooi@av ...Show All

  • Visual Studio Express Editions Installing over VS 2005 Beta 2

    Question 1: What is the correct way to install VS 2005 Standard over VS 2005 Beta 2. Should Beta 2 first be removed and then install the Standard VS or is it ok to install over the Beta 2 version. Question 2: I have been trying to use the different starter kits and the .vsi files are not recognized by VS 2005 Beta2. I am hoping that by installing VS 2005 Standard this will take care of this issue or is there something else I need to do to rectify this problem. I have searched for answers but have not come up with anything that is helpful. Any feedback is appreciated. Thanks John You can't i ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. directx9 lib error

    hi all i have problems with directx9 lib's. i have started programing with directx8 and now directx9. the problem is that when i am trying to use directsound i get errors like: Sound.obj : error LNK2001: unresolved external symbol _IID_IMediaPosition Sound.obj : error LNK2001: unresolved external symbol _IID_IMediaControl Sound.obj : error LNK2001: unresolved external symbol _CLSID_FilterGraph Sound.obj : error LNK2001: unresolved external symbol _IID_IGraphBuilder Debug/Unrevealed.exe : fatal error LNK1120: 4 unresolved externals Error executing link.exe. i have had similar problems but i solved them with this #pragma comment(lib, "d3dx9 ...Show All

  • Windows Forms How to launch an application after install.

    To all, I'm using the Visual Studio Installer to install a .net application. The software will in turn launch MSDE 2000 and configure a few other applications. How do I create a custom action which will launch my application automatically after install is complete I've added my application to : Custom Actions > Install > Primary output from MyApplication . I've set the install class under MyApplication properties to False, but this just seems launch the application near the end of the install process instead of at its completion. What do I need to do to force it to lau ...Show All

  • Visual Basic How to read and write text files?

    My question is how to read the content of a text file into my programme, and write it into another text file created by the programme. Could anybody tell me the most common method of doing that Thanks in advance! By the way, where can I find a good online tutorial for VB6 The File System Object is still the way to do this Why have you decided to stick with VB6 instead of downloading VB.NET Express VB6 is unsupported, out of date, and IMO hideous... http://www.google.com.au/search hl=en&q=VB6+file+system+object&meta = tons of tutorials on the file system object :-) ...Show All

  • Visual Studio Team System Custom Rules Development

    Okay, okay so I know that any rules I write now will need to be re-written with the next release of Visual Studio, however I write (and maintain my own rules and now I'm stuck) .... I've been tasked to write a rule that checks for multiple return statements in methods, this is to help enforce the structured programming principle of methods having single entry/exit points that some of the junior developers consistently ignore. The problem I have is that with introspection I only get the MSIL, which is of course optimised. The optimisation process [is so good that it] actually restructures the code, eliminating all return opCodes exc ...Show All

  • Visual Studio Express Editions Database search

    Hi there, I am new to VB Express. I have a project that requires finding 2 fields in a mdb database. The search key is a variant rather than a text box. In the project I modify input from a text box. The resulted variant is the search key for retrieving 2 fields in the variant record. The database is structured as follows: Location Identifier Field1 Field2 Alocation ABC 123 456 Blocation DEF 789 987 Clocation GHI 654 321 The search key is the identifier variant which is processed from a text field. I watched the tutorial but they automatically associate database fr ...Show All

  • Windows Forms Select Row in the DataGridView

    Hello... I know just the key value and  want to select the row in the DataGridView using that value. I tried to use the TypedDataSet and DataGridView. But, I don't know the row index in the DataGridView. The job what I want is as below... int liIndex = xxxxxxxxxxxxxxxxxxxx; dgWindow.FirstDisplayedScrollingRowIndex = liIndex; dgWindow.Rows[liIndex].Selected = true; dgWindow.CurrentCell = dgMenu[0, liIndex]; And, "liIndex" is what I don't know to solve. How can I get the rowindex from the specified value Please, answer me~~ Thank you~~ Hi, I understood your post in the way that you want to look ...Show All

  • Visual Basic A Pause with a Loop

    Okay...what I want to do seems simple but I've been at it off 'n on for a few days with this & finally decided to post my question. I have a Label I want to flash on & off a few times much like a warning sign. You would think something as easy as: For i as Integer = 0 to 20 Label1.Visible = True Thread.Sleep(500) Label1.Visible = False Next would do it. But it doesn't. I tried throwing a timer in there somewhere but I'm not placing it right. I can get it to run one time (on then off) but that's it. Any suggestions I know this is pretty easy but sometimes easy things can help more then 1 person ...Show All

  • Smart Device Development OnKeyPress - What windows message (WM_xxx) is this a handler for?

    What does the OnKeyPress function in .NETCF act as a handler for (WM_KEYDOWN ). Thanks! ...Show All

  • SQL Server Synchronizing Data (Error)

    - Synchronizing Data (100%) (Error) Messages Failure to connect to SQL Server with provided connection information. SQL Server does not exist, access is denied because the SQL user is not a valid user on the SQL Server, or the password is incorrect. HRESULT 0x80004005 (29060) The operation could not be completed. I have got this error when trying to create the SQL mobile replication using SQL 2005 CTP. The publication was created successfully, as well as the web synchronization setup, snapshot agent running fine. I am using annonymous login option, is that sth to do with the IIS user profile configeration I am really stuck...could so ...Show All

  • Visual Studio Express Editions Question for making custom window border (was:PLEASE HELP!!!)

    Hi, i have been prgramming in vb for a few months now and am still a novice but have a really important question to ask. I have designed my program that is an RSS reader but i really need some help on the design... I am going for the same sort of look as windows media player and real player etc. that do not have a border around them... i dunno if this makes any sense but if you go to: www.as-hosting.com/~tom you'll see what i mean. in other words i want to be able to create an application that has no toolbar or exit, minimize... etc. buttons and has rounded corners i have a bg image i would like to use and would REALLY appreciate the h ...Show All

©2008 Software Development Network