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

Software Development Network >> Jim Weisz's Q&A profile

Jim Weisz

Member List

AGDD
Moshe Gottlieb
dRoseMirakel
hooligannes
JesperChristensen
BruceT
Vivid Tang
Shantale
_Buzz
Darth Videlous
Matthew Hunter
derekp
Wende
Jon Limjap
bmann225
MarkR***
Jeremy51
VTDanoKim
mmahmood
Modernthinker
Only Title

Jim Weisz's Q&A profile

  • Visual J# java.util.Calendar.getInstance() fails on Windows 2003

    Calling java.util.Calendar.getInstance() on Windows 2003 produces the following exception below... java.lang.NullPointerException: Object reference not set to an instance of an object. at java.util.GregorianCalendar.__dateToTime() at java.util.GregorianCalendar.computeTime() at java.util.Calendar.getTimeInMillis() at java.util.GregorianCalendar.__initialize() at java.util.GregorianCalendar.<init>(TimeZone zone, Locale aLocale) at java.util.Calendar.getInstance(TimeZone zone, Locale aLocale) at java.util.Calendar.getInstance() at VJGregorianCalendarTest.Class1.Main(String[] args) The same code works fine on Windows XP SP1 ...Show All

  • SQL Server Help files for MS SQL Management Studio Express?

    Hi Are there any specific Help files to download for SQL Server Management  Studio Express . I thought I saw a link the other day, but I am not sure anymore... Or is it part of the Book online for SQL Server Management Express I can't find reference to Studio in there... Thanks Gauguin   Hi, Here are some links for MS Sql Management Studio Express Help.           - SQL Server 2005 Express Edition Documentation and Samples (December 2005)           - SQL Serve ...Show All

  • Smart Device Development SendKeys

    Admittedly, this wouldn't be my ideal solution, but is it possible to emulate the "action" button on a pocket pc or smartphone For instance, if I've popped a CameraCaptureDialog, can I automate image capture and approval simply by pushing the keycode at it Or is it possible to raise any events against this dialog I havent tried it myself but since everything is just message pumping underneath, sending the right WM_* message to the right window should almost always do the trick ...Show All

  • Visual C# Controls in diferents forms

    hi i have this problem: private void Form5_Load(object sender, System.EventArgs e) { Form1  frm1 = new Form1(); string name = frm1.textBox1.Text; MessageBox..Show(name); } on the Form5 i wrote that code.....ill explain u what the program do: u start in Form1 and when u click in a button it ShowDialog the Form5 and in the Form5_Load  it should get the text in the textBox1 of Form1 and MessageBox the text it get. the problem is that i allways get a blank messagebox... and i allready checked that the textBox1 have text in it.. i also made oublic the textBox1 so... what can i do Hi, No, this ...Show All

  • Visual Studio Changing crystal reports coneection string to connect SQL Express using auto attch feature

    I need to switch between the databases at runtime for my crystal reports in .NET 2.0.We know that it is possible to change the crystal reports connection string at run time in .NET 2.0 Is it possible to implement the above scenario using the auto-attach feature of SQL’05 with Crystal reports. My question is related to SQL EXPRESS 2005 auto attach feature,i.e can we change the crystal report connection string using auto attach feature of the SQL Express. We are attempting to move the database from a full install of SQL'05 to a SQLEXPRESS with an AUTOATTACH. Please provide me any sample code which illustrates dynamically changing ...Show All

  • Visual C++ How to create folders with separated folder names?

    Windows enables you to create a new folder and rename it with a separated name like 'Business contacts folder'. How does one create a folder and name it so in visual C++.net So far, I'm creating folders using system("mkdir <directoryname>"). Is there an alternate and more efficient to do this Please forgive me if it sounds amateurish. I'm still a novice programmer. Thanks! Found the answer! I used _mkdir() function instead of the system() variant. U'd have to include all std io first. Anyone with this problem can look up _mkdir() in the msdn library. Its under mkdir functions. Thanks everyon ...Show All

  • Smart Device Development Interaction with bluetooth headset

    Hi, is there an easy way to play some audio via a bluetooth headset or capture the audio from the headset I didn't find a lot of information about this on the web & msdn but I'm sure I'm not the first person trying to write an application interacting with a BT headset... michivo This forum is intended to deal with issues directly related to the .NET Compact Framework. It appears that this question can better be answered by someone on one of the newsgroups for Windows Mobile or Windows CE. In order to get a quicker and more accurate response, please consider reposting this question to one of the ...Show All

  • SQL Server SQL 2005. Dynamically assigned column name? Is it possible?

    Is it possible Select * from Mytable Where (@ColName=@ColValue) No. You cannot execute dynamic SQL like that. You have to form a valid SQL statement as a string and execute it using EXECUTE or sp_executesql. See one of those topics in Books Online for more details. Ex: set @sql = 'select * from MyTable where ' + quotename(@ColName) + ' = @colValue' exec sp_executesql @sql, N'@colValue varchar(10)', @colValue = @colValue ...Show All

  • Visual Studio 2008 (Pre-release) Problems with Extension syntax

    playing with the Linq examples and I am getting a compiler error when trying the extension example. This is not working; public static string CamelCase( this string identifier) The this causes the compiler to indicate a type expected from the demo video this should work.  Any idea what I might be missing. Thanks You have to go through an extra step to install support for the IDE. There's a section near the top of the readme that describes this. Is it possible this is the issue ...Show All

  • Visual Studio Tools for Office Excel 2003 automation: setting an array as value of range-object

    I have been working on a routine for saving DataTable to excel (2003), with help from : http: / / support. microsoft. com/ kb/ q302094 This procedures however fails on the line which sets the value of the excel-range to the generated array. I was hoping to accomplish this using late binding, but this yields: "System.Runtime.InteropServices.COMExcep tion (0x800A03EC): Exception from HRESULT: 0x800A03EC. at Microsoft.VisualBasic.CompilerServices.L ateBinding .InternalL ateSet(Obj ect o, Type& objType, String name, Object[] args, String[] paramnames, Boolean OptimisticSet, CallType UseCallType) at Microsoft.VisualBasic.CompilerSer ...Show All

  • Visual Studio Team System Project Name in queries?

    Is it possible to include the project name in work item query results I like the 'All My Work Items for All Team Projects' query, but it would be a lot more useful if it included the project name in the results. Hi, You can do this in the UI as: Right Click on the result view Select column options Select Team Project as a display field You can also modify the query adding the clause [Team Project] = 'ProjectName'. If you are running the query through the OM, then: WorkItemCollection wiCollection = wiStore.Query("Select [System.Id], [System.TeamProject] from workitems"); Hop ...Show All

  • Smart Device Development GPS Signal

    Hi, How to check from c# application whether GPS signal is available Thanking you, Regards, Prashant This forum is intended to deal with issues directly related to the .NET Compact Framework. It appears that this question can better be answered by someone on one of the newsgroups for Windows Mobile or Windows CE. In order to get a quicker and more accurate response, please consider reposting this question to one of the following newsgroups: Windows Mobile API : microsoft.public.pocketpc.developer microsoft.public.smartphone.developer Windows CE API : ...Show All

  • Windows Forms Inactive user input

    Hi Everyone,   Could someone please suggest a reliable way of determining user inactivity, I need to lock my app after a specific period of inactivity. I am currently handling Mousemove, mousedown and keydown events of my form.  The problem is a control on the form is to the front then that receives the mousemove not my parent form...its probably something daft.  I currently have a timer, a timeoutduration and a timeoutExpired.  I handle keydown and mousemove events, if either event is fired the timeoutExpired is reset to 0. In the timer if the timeoutduration > timeoutExpired the app is locked. thx, ...Show All

  • .NET Development Text Encoding - Avoiding encoding signatures

    I am using the System.IO. File.ReadAllLines and System.IO. File.WriteAllLines to do a search-replace on some files which are part of a C++ project. The problem is that when the File.WriteAllLines writes back the files in UTF8 or UTF32 encoding it adds the signature characters to the beginning of the file leading to a compilation error. How can I avoid writing the signature header characters Thanks. Use a StreamWriter instead of File.WriteAllLines. Pass an Encoding object to the StreamWriter constructor and make sure the Encoding object is set to not write any preamble. ...Show All

  • Windows Forms xml files are not deployed to directory where the application is running

    When I publish my application with ClickOnce xml files containing custom configuration are not deployed to the directory where the application is running from. Is this the correct behaviour What is the recomended way to organize custom configuration with ClickOnce publishing Teymur, The pdf file must be included in the project. (It's okay if it a linked file.) The BuildAction property of the pdf should be set to Content. That should be all you need to see the pdf file in the list of Application files. Regards, Elizabeth Maher VB Team ...Show All

©2008 Software Development Network