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

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

mohdtmn

Member List

John VB
Rob_MUFC_1982
Amos Soma
oysts
Jeff Drummond
Steveinbeloit
SuperFox
prozac11
A1Programmer
Greg Beech
JayMcNeely
FHeNuS
GoodCoder
MacroHard
hrd2hndl67
Ori'
MEW99
toky64
MickJ
itsdzs
Only Title

mohdtmn's Q&A profile

  • Visual Basic Error Message that I can't resolve...

    I am fairly new to writing in VB and in reality it is actually my first true language that I am trying to learn. I am currently writing a small application for where I work that will be used internally by only a couple of people. The purpose of this project is to record and maintain records for troubleshooting calls. This is in essence a CYA (cover your *ss) ploy that also helps us maintain with compliance rules. So essentially what I did was create a small program that would refernce back to a database out on one of our servers. This was supposed to be something that I assumed would be very easy, and at first it did seem to be working properly. Now I have run into a problem that I do not have a solution for. The following is the error I g ...Show All

  • Visual Studio Express Editions progress bar....please help

    can anyone please help with this progress bar Dim i As Integer Dim TrackLength As Integer = 100 Dim TrackPosition As Integer = 0 Dim TrackPositionPercentage As Integer = 1 Bar1.Value = 1 If TrackLength > 0 Then TrackPositionPercentage = CInt (TrackPosition / TrackLength * 100) For i = 1 To 100 Bar1.Step = 1 Next (i) End If I thought that was it in red edit.......do you give up now......lol Private Sub Timer1_Tick( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick Bar1.Minimum = 0 Bar1.Maximum = 100 If TrackLength > 0 Then TrackPositionPercentage = CInt (TrackPosition / ...Show All

  • Windows Forms GUI problem

    I have a problem I don't know how to solve: There are two controls on my form, lets assume two TextBoxes. The Leave event of the first TextBox disposes the other one - so if the focus is on the first TextBox and there is a mouse pressed on the second one - there is an exception because the second one is disposed and can't get the focuse. I know it is weird but I need it. Help anyone Thanks Don't dispose it. Just do textbox.Hide().... Edit #1: Or actually, you could put the focus back onto the first textbox before disposing the second Ex. textBox1.Focus();       textBox2.Dispose(); ...Show All

  • Visual C++ Convert char* to wchar_t*

    I'm developing a C program. I want to convert char string to wchar_t string. I know there is a function in the C99. But I don't want to use that. Is there is a function in the win32 api to do this   Viorel. wrote: (I do not think modern conversion macros always allocate the strings on the stack. Only short results are kept on stack into a pre-allocated buffer. In my opinion longer strings are allocated on the heap, in the same manner as it is done today in case of std::string class.) in vain: For 2005: #define A2W(lpa) (\ ((_lpa = lpa) == NULL) NULL : (\ _convert = (lstrlenA(_lpa)+1),\ (INT_MAX/2<_convert) NULL : \ ATLA2WHELPER((LPWSTR) alloca (_convert* sizeof (WCHAR)), _lpa, _con ...Show All

  • Visual Studio Team System Can only create TestProject in C++

    Hi, I'm trying to make a test project with the unit testing tools. But I'm only able to create a test project in C++, not in C# or VB. The error message I get is: "The template file for selected project type is missing." So, my question is how do I fix this Moving to Team Test Forum as that forum is the best place for Unit Test questions. Thanks, Dave Lubash - Visual Studio Team Developer ...Show All

  • Windows Forms executing SQL query in C#

    hi, suppose we have some text boxes already binded with BindingNavigator how to execute an SQL query using the code so the binded data can be specified with this SQL statement using C#. Hi again Now what if I wanted to bind text boxes instead of data grid using the same piece of code. Lets suppose that we have textBox1 to be binded with (id) column at emp table and textBox2 to be binded with (name) at the same table, what would be the code for this purpose. Thanks regards, ...Show All

  • Visual Studio 2008 (Pre-release) June CTP Exception reading GroupBox Template

    If I do this: StringBuilder sb = new StringBuilder (); using ( TextWriter writer = new StringWriter (sb)) { GroupBox aGroupBox = new GroupBox (); System.Windows.Markup. XamlWriter .Save(aGroupBox.Template, writer); string test = sb.ToString(); } My app bombs a short time later. The Stack shows it crashed at BamlRecordReader.ReadRecord. This also crashes EID June CTP. Any ideas for extracting templates I got that template after adding the control to a grid, however just after I got the template my app bombed. If you use that template you will find that the GroupBox has no border, and the text is blue. Here's the o ...Show All

  • .NET Development Any one help me for the following error occurs in .Net 2.0

    Hi All, In my UI Layer I am raising the Exception Divisible by Zero. In Catch block of UI Layer I am calling the Business layer function to write this exception into Event Viewer After the Exception writes into the Event viewer the control come back to UI Layer of Catch block. When I am getting the error like "Exception has been thrown by the target of an invocation." If you know the solution for this problem, please reply to this mail. I am using .Net 2.0 and Application Block 2.0 See the Following Code Business Layer public interface ICommonFunctions { void LogErrInToFile( Exception ex); } pub ...Show All

  • SharePoint Products and Technologies xp files & transfer settings problem

    Hi, I had a problem with my PC and I basically had to reformat and then reinstall xp and the other pre-installed software. I used the files and transfer settings wizard to copy my stuff onto the desktop. I then burnt the dat files onto 3 dvds ready to transfer after the computer was reformatted etc. Anyway, the reformat and reinstallation was all smooth. I opened up the transfer files & settings to copy the old stuff to my new pc. However it keeps coming up with the following: "The location you specified does not contain stored information. Please type a valid path into the edit box. If you entered a path to a folder on a removable disk, the disk must be in the drive." I have tried copying the files into the USMT. ...Show All

  • SQL Server Extract Exchange 2003 data

    I have searched everywhere for an answer and seems I am either blind or there is no simple solution. Basically I have a need to report on data stored in an Exchange 2003 data store. There is mention of a OLE DB for Exchange 2000 but nothing for Exchange 2003. For example, A company report on time spent on various categories in a staff's calendar, etc. I would like to use SQl 2005 SSIS to extract and reporting services to report. Why is this so difficult I come from a Lotus Notes / Domino background and there are numerous articles and ways to do this Please can some MS guru please give me some direction on where to look Cheers Damien Frank, Once again this artile is date 2005 and yet still only me ...Show All

  • Visual C# An object reference is required for the nonstatic field, method, or property

    I know you have all seen this one before, for which i am sorry. But I can't figure this out. I am not sure if what I am trying to do here will even work in the end but this is my first project and I am learning as I go, so please try not to laugh. I have a combobox of form1 that is bound to a data source and on form3 I have a report viewer that (I hope) will load using the text that is in the combobox on form1. This is where I have the problem! I have searched many forums but still don’t really understand!! (it is the WHERE SaveName = '" + Form1 .comboBox2.Text + "'" ;where the error occurs, as follows: (An object reference is required for the nonstatic field, method, or property 'Stock_Scan.Form1.combo ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. SDK won't compile on VS2003 -> Syntax error in D3D10.h

    When I try to compile the code from Tutorial 01 that comes with the October SDK in VS2003 it gives the following errors; i:\Program Files\Microsoft DirectX SDK\Include\D3D10.h(818): error C2061: syntax error : identifier '__out' i:\Program Files\Microsoft DirectX SDK\Include\D3D10.h(822): error C2061: syntax error : identifier '__in' i:\Program Files\Microsoft DirectX SDK\Include\D3D10.h(826): error C2059: syntax error : ')' What do I need to do to resolve this problem Thanks. I am still using WinXP at the moment, but thank's for the suggestion. I didn't realise there WAS a windows SDK, I have not been doing c++ programming for long (mostly programmed in Java and Perl up to now), so I will certainly insta ...Show All

  • Visual Studio Team System External link to Shelveset properties dialog

    Hello, We're using shelvesets for peer code reviews, and it would be useful to be able to launch the ShelveSet dialog for a specified shelveset name & owner in Team Explorer from an external program (preferably from just a hyperlink). Is this possible without creating lots of extra coding Unfortunately, there's an oversight in V1 where unshelve assumes you're going to actually unshelve it into a workspace and requires that you run from an existing workspace mapped location (you can't specify /server or /workspace). The same appeasr to be true for the "other" option of "tfpt review" (which is made more for code reviews) The URI links (vstfs:///) are handled specifically in VS, we ...Show All

  • Visual Studio Team System Add objects to project ?

    Hi There I have created a new DB project. All i want to do now is add a couple of tables to the project from an existing database. I cannot find a way to do this All the help files mention is importing an existing DB schema , i do not want to import the whole schema as it is really huge , i simply want to add a few tables etc, but cannot find a way to do it I am having the same problem with compares, all i want to do is compare 2 tables in one database to the same tables in another database but it seems my only choice is to do a full compare between the databases, as mentioned their schema are huge all i want to do is 1 or 2 objects not the whole database, is this not possible Thanx Pleas ...Show All

  • Smart Device Development Accessing POOM from C#

    Using C# in Visual Studio 2003 .Net I'm trying to access the POOM Contacts list. Long ago I built a simple program with eVB to do something similar but after reading dozens of links I still can't figure out how to do it. Can anyone shed some light Robert W. Vancouver, BC Should there be ”much simpler way”, there will be no 3rd party toolkit, right But you are correct, there’s a way but only on WM 5.0. So, you have these options: Drop support for older devices (pre WM 5.0), upgrade to VS 2005 and use WM 5.0 features. Purchase 3 rd party toolkit, it should work on all devices but you probably want to verify that with manufacturer. Code everything yourself. ...Show All

©2008 Software Development Network