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

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

mjhoagland

Member List

dvboom
sigs007
Kumaran S
levu
daleUSA
Bill Pf
mig16
BobbyVee
JimF
Brian MCSD
Kent Waldrop Ap07
Soccer8.NET
Yedu
Agi
Ali Jannatpour
Patricko
HarrisTL
Sindre
Harry1311
Haydn
Only Title

mjhoagland's Q&A profile

  • Visual C# convert from decimal(base-10) to alphanumeric(base-36)

    dear All, I am creating a program that generate id for any incoming material lot using hexadecimal ID, Since the number of incoming material lot increasing rapidly, we plan to move to a new ID number with alphanumeric(0-9,A-Z). The convert class doesn't support the base 36 type. Does anyone have any idea for my problem Any help is very appreciated. Thank you regards Freddy Halim Hi, check if works for you: public String ConvertToBase(int num, int nbase) { String chars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; // check if we can convert to another base if(nbase < 2 || nb ...Show All

  • Visual Studio Team System BUG: Invalid handle on concurrent checkout/checkin

    If I am checking out the a project file. My colleque checks out the same project file (concurrent checkout) Then he checks in the project file. Now, when I am trying to check it in I get an error box saying "Invalid Handle" Restart, Reconnect to TFS doesnt help. However, If I do a "Get lastest version" then it triggers a merge request, after I done the merge, the checkin works fine. Regards Fredrik Melin After further review on our merge issue it appeared that it had something to do with line endings.  The merge tool showed half of the code updated which none of the code had been touched.  When we put in a diff ...Show All

  • Visual Studio Express Editions Instantiating Abstract Types from WSDL

    I dynamically create a proxy class to call a web service from a variable number of web services which all implement a known method. This is done by using reflection. How do I instantiate abstract data types defined in the WSDL Hey, You can not instantiate any abstract data type. No matter where it resides (on the server or on ur local machine) ...Show All

  • SQL Server Problems with SQL 2005 IDE and Column Names

    Hello all. I'm having problems with SQL 2005 Management Studio not liking some of my column names, even though I believe they are valid when run directly through a SQL query window. An example... CREATE TABLE [Test] ( [ID] [int] NOT NULL, [The.Name] [nvarchar] ( 50 ) NULL ) INSERT INTO [Test] ( [ID] , [The.Name] ) VALUES ( 1 , 'Test' ) DELETE FROM [Test] WHERE [ID] = 1 This SQL will execute in the Query window without issue. To see the problem in action... Execute the SQL to CREATE the table and INSERT the row Use the Management Studio IDE to Right-Click on the Test table ...Show All

  • Visual Studio Express Editions How do I get my free e-books?

    I downloaded, installed and registered the beta editions before Nov. 7th. I have yet to get an e-mail though telling me how to access my free e-books. I have a benefits page where I can download icons and pictures but nothing about e-books. Anyone know what's going on Thanks. Since no one is replying I'm guessing everyone else has their e-books If so how did you exactly get to them ...Show All

  • Windows Forms MessageBoxIcon on Dialog Box

    Hi, I need to draw a Dialog Box, and use a icon similar to the one that appear on a Message Box. I cant use the message box, because the text that I want to show have a comples formating, with bolds and etc. I can supply a sample of the formatting is something like this: Filed One : some values Field Two : Some values Field Three : Some Values Field Four : Some Values Field Five : Some other values Then I need a ok buttons, but that easy to do and last, I need to use a icon simillar to the information Icon, and that's the tricky part. Any suggestions Thanks in adavance. Regards ...Show All

  • Visual Studio Tools for Office Changes to App.Config not propagating to runtime in Excel VSTO 2005

    When I change a connection string in my App.Config for Excel VSTO 2005 the change is not being reflected at run time or in the debugger. Where is the runtime App.Config being kept It's not in the bin or obj\debug... My version also prompted me about updating the value in the .settings file and on the dialog it appears to have been changed but if you turn on show all files and check the actual method in .settings you will see that it has NOT been changed.  It still picks up the value from the app.config file. ...Show All

  • Visual C++ error lnk2028: unresolved token

    I'm using VSNET 2005 June CTP. When I create a MFC ActiveX Control and specify common language runtime support, old syntax, I get several error lnk2028: unresolved token messages. I have tried the "Remove the Entry Point of the Managed DLL" solution from http://support.microsoft.com/ id=814472 I really though this has already been fixed before. I am suprised it is still in recent builds. I am going to investigate this internally, I have already reactivated corresponding bugs for this issue. You are also welcome to open a bug on lab.msdn.microsoft.com to keep track of this issue. Thanks a lot for bring ...Show All

  • Windows Forms Hide the first Column

    Is there a way to hide a Column in a DataGrid I wish to hide the first column of a DataGrid but I don't just simply want to remove the Column as I'm using the value of that Column to execute a stored procedure. Hope this makes sense. ...Show All

  • Visual C# console window together with a WinForm application?

    i need a console window together with a WinForm application. like: http://www.codeproject.com/csharp/console.asp public class Win32 {         [DllImport("kernel32.dll")]         public static extern Boolean AllocConsole();         [DllImport("kernel32.dll")]         public static extern Boolean FreeConsole(); } but it only works in "Debug" , can't works in "Release" model. any ideas One easy way is to right-click on the Project in Solution Explorer and Choose Properties. In the Application Dialo ...Show All

  • Visual Studio Express Editions Im Taking A Class on VB...

    How much diffrent is Visual Basic 6 from Visual Basic Express Edition Im going to be taking a class online and its based in Visual Basic 6. My school is getting Visual Basic 6 for us to use there, but I have VB Express at my house. Are the files interchangable Is the coding a lot diffrent The bottom line is, will I be able to start something in one program and finish it in another or visa versa You can use "Create New Project From Existing Code Files" wizard (File => New => Project From Existing Code...) to upgrade any project form Visual Basic 6 to Visual Basic.Net . Hope this helps ...Show All

  • .NET Development TableAdapter Update problem

    Hello, i have problem in my application. I create dataset with single table. In MainForm i have 2 texboxes and update button. This is code for update button: [CODE] Klient klient = new Klient(); klient.ShowDialog(); KlientDataSet dataSet = new KlientDataSet(); Serwis.KlientDataSet.KlienciRow klientRow = dataSet.Klienci.NewKlienciRow(); klientRow[0] = Guid.NewGuid(); klientRow[1] = klient.Imie; klientRow[2] = klient.Nazwisko; dataSet.Klienci.AddKlienciRow( klientRow ); int result = this.klienciTableAdapter1.Update( dataSet.Klienci ); [/CODE] I got 1 in result variable so i think that database was updated. No my dat ...Show All

  • Visual Studio Team System TFS IIS AppPool getting stuck

    We currently are using a TFS Beta 3 server (we hope to move to B3Refresh in one or two weeks), and it is working very nicely so far, except for one problem we've noticed a couple of times: Ocassionaly, over night, the IIS AppPool configured to run the TFS webservices in the AppTier (though this is a single box deployment) gets "stuck". There are no relevant error messages from IIS logged into the machine event log, but all calls to the TFS WebServices (even the local ones from the TFS Scheduler service) always cause an HTTP 503: Service Unavailable error. The way to get it back up is to go to the server and manually recycle the TFS AppPool ...Show All

  • SQL Server About Login Account

    Hi everyone, I have a simple question for you which is too important for me. My question is about logins in my own(local) server. I know that my local server(my computer's server) has to default login account which are called sa and BUILTIN/ADMINISTRATOR. While I am using my own server, I do not know which default login account is used by my Server since I use windows authentication while connecting to the Server. Another question is that while adding new login account for my own Server, I noticed that there is a choice which is comprised of Grant and Deny for the Security. What is the meaning and usage of this Thanks and Regards I s ...Show All

  • SQL Server Reporting Service Web Service Authentication problem

    The situation is this. I have three different boxes, DB, reporting Services and Web Application. All three boxes are in same domain and Developer user group of the same domain has admin rights on all these three boxes. Web App. and the ReportServer site on the Reporting Services are integrated windows authenticated. Web App. call Reporting Service through ReportExecution2005.asmx Web Service exposed by ReportServer Site of Reporting Service. Now from the fourth box, same domain or different, when I call the Web Application and from the Web App. call the Reporting Service, it gives an Error : 401 ; Unauthorized. But If i change ...Show All

©2008 Software Development Network