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

Software Development Network >> Joel Hensley's Q&A profile

Joel Hensley

Member List

Jeanvo
Fazul
Leonard Lee
maran.g
Ajaidas
jkushiner
Dietz
CraigT
kstus
Heidi Christiansen
Jon Braganza
Keith Newton
Luis Esteban Valencia Muñoz
Oscarfh
John Sudds - MSFT
LennardF1989
blah569
Abraham Varghese
vipinckv
Adix
Only Title

Joel Hensley's Q&A profile

  • Smart Device Development how do i start mobile programming?

    how do i start creating mobile applications................ Ilya Tumanov wrote: 1. Purchase VS 2005 SE or above. 2. Create device project. 3. Create your code and design your UI. 4. Debug your code. 5. Create setup project. 6. You're done, congratulations. I'm assuming by "mobile programming" you mean "Windows Mobile/CE" programming. If that's not what you meant you're in a wrong forum. hey! can you shed some light on simulators to be used and how to decide upon mobile specific issues like UI max size limit etc. regards Sumit Dagar ...Show All

  • Visual C++ filebuf::sh_none - compiler error

    Hello , I am tring to compile code that was previosly built with v.Studio 6.0 with v.Studio.net 2005. pFileStream->open(buf,ios::app,filebuf::sh_none); I am getting the following error: Error 2 error C2039: 'sh_none' : is not a member of 'std::basic_filebuf<_Elem,_Traits>' e:\varicom\version 6.0\smpp_service\datawriter.cpp 33 sh_none is used for exclusive access to the buffer, can I rewrite this line maybe without sh_none thanks in advance Unfortunately there is no standard way of locking a file for single access. filebuf::sh_none is an extension provided by some of the compilers. try this.may be this one helps you. pFileStream->open(buf,ios::app,filebuf.sh_ ...Show All

  • SQL Server Problem with SQLBindParameter

    I am developing an application, using ODBC, that needs to call a stored procedure in an SQL Server DBMS that has a mix of INPUT and INPUT_OUTPUT parameters. I have the code so that there aren't any errors returned from the function calls but I do not see the bound data change after the SQLExecute() function. Code snippets follow. CHAR szStatement[256]; CHAR szBuf[256]; SQLINTEGER irval = 0, filenum = 808042, DoNotCall = 0; SQLVARCHAR vcPhoneNumber[PHONE_LEN]; SQLVARCHAR vcInstanceCode[INSTANCE_LEN] = {0x20}; SQLVARCHAR vcReason[REASON_LEN] = {0x20}; SQLINTEGER rvalLen = 0, fileLen = 0, noCallLen = 10, phoneLen = SQL_NTS, instanceLen = SQL_NTS, reasonLen = SQL_NTS; lstrcpy( szStatement, "exec = some_proc , , , , " ...Show All

  • Visual C# How do I force VS2005 to use NET 1.1

    I am working on a bunch of code that was written for NET 1.1 and will not work with NET 2.0 due to changes. It is looking like trying to fix the code to work under 2.0 is going to require more time then I have for this project. So the question is how I can force this code to use the 1.1 libraries instead Thx Joshua Baker " Now there is no way to do this. YOu can program for .Net 2.0 and/or .Net 3.0 with some extensions insalled but not for .Net framework 1.1. " Actually you can, see: http://www.gotdotnet.com/codegallery/codegallery.aspx id=9ac94da5-8e5a-4a33-beda-9b8d00970371 ...Show All

  • SQL Server sql server 2005 query analyser

    is there a query analyzer for sql server 2005 as in sql server 2000 bcoz i downloaded the 180 days evaluation version & installed it . i have worked with sql server 2000. but there is no query analyzer for 2005 how can i write queries & execute of course there is vs 2005 which has come with sql server 2005 evaluation copy. plz help! bcoz i really want to work with sql server 2005 thanks in advance for ur replies 2005 comes with Microsoft SQL Server Management Studio. After connecting to your database you can select a table, right-click, and select query to write your queries and run them there. ...Show All

  • SQL Server Packages error or hang in SQL Agent but not in BI IDE

    Hi , I have an issues that worries me alot. I have SSIS packages scheduled in SQL Agent and they sometime error out or hang in Agent but never when i run them in BI IDE (Visual studio). There are two particular packages that always hang, alway in Agent but when i run them in BI IDE, they run just fine. Im was running them under in Agent under type= Sql server intergration services and also tried running under type = Operating System (CmdExec). Both types have the same problem. The packages hang. The log files dont say much, because the packages hang, no logging is doing so i dont get any infomation to determin what is going on. Can someone please help me ou. DawnJ wrote: Just what do you mean by 'save the package to ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Xbox 360 Official Dev Kit vs. "the XNA thing"

    Here goes, The official dev kits intergrate within Visual Studio and compile on PC and send the executable to the machine and launch it via remote debugging. This also allows for breakpoints, steping thru code, etc. Will this new XNA subscription and Game Studio Express be similar to this idea I'm dreading things like relying on Windows support and burning it to a CD to play it on the 360. (For example) Q: How can you debug XNA-based games running on the Xbox 360 A: Debugging on the console is supported through a remote debugging connection from a Windows desktop running XNA Game Studio Express. Just incase you can't find the FAQ ;-) ...Show All

  • Visual Studio Tools for Office document close event.

    Hello, I want to use the close event of document object but the thing is that it is still fired even when the user clicks on the close button but then chooses cancel when the prompt is displayed. The microsoft.office.tools.document class has shutdown event that I'd like to use but it is not possible to use this class from another application. What can I do should I create a component using VSTO and then use it from my app If yes how I want to open a word file from my application and then detect when it is closed. Also, the document class has got many collections like these: tables,words,paragraphs,etc. Is it possible to store all these collections in other files or in sql table and then assemble the word document using them Thanks ...Show All

  • .NET Development XML Conversion

    How to convert pdf file to xml document. Please read this answer . There is a lot of tools on the market and the iTextSharp PDF library if you wish to implement such a converter yourself. Hope it helps, Anton ...Show All

  • Smart Device Development Unicode VS ANSI encoded files on Windows Mobile Devices

    Hi All, I'm very much aware of the sole use of unicode on Windows Mobile devices and that .NETCF2.0 strings are all unicode based.  I've developed an application that reads INI based files.  I created this file on my laptop and ignored the fact I saved the file with ANSI encoding.  This did not give me a problem reading the file though.  It worked just fine.  I haven't yet written code to write to the file so I've no idea whether I will get a problem.  I've since realised that this file is ANSI based so I saved it a Unicode just in case.  Obviously it doubles the size of the file. I'm going to be using a lot of text based files in this application (some rather large) and wondered if ANSI would ...Show All

  • Smart Device Development Lost my Controlbox

    Once upon a time, I hade a nice little .Net CF application running on windows mobile 4. Thing is, now that i changed to a windows mobile 5 system, I can't see the controlbox anymore. Which mean right now I have to warm boot each time I want the close the soft... . Help me obi-Wan Kenobi, you're my only hope I am not quite sure I understand the problem here. Can you please clarify and post your question again Thanks. ...Show All

  • Visual J# java.net.URL - where is getPath() ?

    Hi there! Please look at working java code URL url = new URL(name); String truncatedName = url.getPath(); J# compiler on .NET1.1 complains that no "getPath" method out there. Do I have any other workaround than URL url = new URL(name); String host = url.getHost(); int pathStartIndex = name.indexOf(host) + host.length(); String truncatedName = name.substring(pathStartIndex); J# SDK complies with Java SDK 1.1.4 and in that method URL.getPath() is not there. This method seems to be introduced in later java versions. You should use getFile() method instead, then remove (if any) in that string to get the getPath() string as shown below :- URL url = new URL(name); String file = url.getFile(); if (f ...Show All

  • .NET Development UserNameToken and KerberosToken together

    Hello all. In my webservice I want to mix windows and custom authntication. I can successfully use UserNameTokens or KerberosToken via applying corresponded policies to a webservice class. But I want to an ability to mix these 2 options and write something like this: if ( RequestSoapContext.Current.Credentials.UltimateReceiver.GetClientToken<KerberosToken>() != null ) { //do some win-based authorization actions } else if ( RequestSoapContext.Current.Credentials.UltimateReceiver.GetClientToken< UsernameToken >() != null ) { //do some forms-based authorization actions } The problem is that I cannot achieve this using one policy. Also I cannot apply 2 policies to one WebService class. Does ...Show All

  • Visual Studio Crystal Reports for .NET 2005 Merge Module too bulky

    Hello, I have a windows forms application using .NET 1.1, MSDE, and CR, that I deploy on CD. Now that I've migrated to .NET 2.0 and SQL Server Express, the Crystal Reports merge module (CrystalReportsRedist2005_x86.msm) is now 75MB instead of the 15MB or so. My application won't fit on a single CD. I hate to think that my distribution costs are going to double. Is there any way to create or get a slimmed-down version of the merge module that doesn't contain all the dlls I don't need For example, I only deploy to English, I don't need all the other languages. I've tried using previous versions of the merge modules, but so far no luck. I would appreciate any help at all. Thanks, Thanks for the ...Show All

  • Smart Device Development how to create file

    hi how to create a file at sd or mmc card The develop platform is c# .net cf 2.0. the sample code is better. thank you Does this help StreamWriter theWriter = new StreamWriter(" \\Storage Card\\someFolder\\SomeFile.txt "); theWriter.Write("hi"); theWriter.Close(); be sure to use the System.IO namespace to access the Stream(writer) classes ...Show All

©2008 Software Development Network