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

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

papaworx

Member List

Timmer26
daimaku
stallion_alpa
Abhishek Chadha
malc_s
AlexU
Jason Wilborn
Noah Nadeau
Kevinmac
ijrr
MaggieChan
MReynolds
Lucas Condé
rod 001
John Bowen
Aazad
Chris Ghali
Adam Walters
FastRider30
Mustansir - MSFT
Only Title

papaworx's Q&A profile

  • Visual Basic FileSearch not accurate

    I've been working on a new database project using Access 2003, and have some visual basic code launching when a form opens. The code is very basic, but I'm getting some unsual results. The code bascially utilizes the FileSearch method, but even with the .NewSearch added, it acts as if it continues to use data from before. I've added files to the target directory, and it will still result in the same number of files found. I'll remove files and the code will display an error to the effect of "Cannot find xxxxxxxx" (a file that was present before I deleted it for testing purposes.) Parts of the code are junk, which it creates a table and adds a record with the filename for each file that fits my criteria. My criteria is, the ...Show All

  • SQL Server Creating Total to-date query...

    I am trying to create a query where the data is for a time period but there is one column that would show a Total-to-date. I've tried google and searching this forum but everyone talks about year-to-date or period-to-date but I don't want that. I would like to do : [from whenever data started being entered]-to-date I know I can hack this by doing an aggregate like so: WITH MEMBER [Timesheet].[Date].[TimeChargedTotal] AS 'Aggregate ( { [Timesheet].[Date].[Year].&[1900].&[1].&[1]:[Timesheet].[Date].[Year].&[2006].&[9].&[15] } )' Here I am betting on the fact that there is no data before 1-1-1900 which is a safe bet, but I'd prefer to do it the 'right' way if there is one. Thanks. Okay this is not w ...Show All

  • Visual C++ Why /Mt & /Mtd options differences cause my release version to crash?

    Hello The Debug version of my software works fine. when i compile it into a release version. Some of my objects seems to be destroyed where it's not meant to be, creating memory access error. The objects themself seem to be existing but some of their variables seem to have been deallocated for some reasons unknown to me. I found out that compiling my project with the option of multi threaded 'debug' runtime library instead of a normal multi threaded runtime library solves the problem. Could you tell me what are the difference between these two type of library It would help me to find if there is any fixable error in my code. Thanks a lot. Thanks a lot for your help, i've learned a lot because of you and i am really ...Show All

  • Smart Device Development Error while deploying to device

    Hi, I am getting the following error while I am trying to deploying my application. what may be the solution for this. "Unable to start Program '%CSIDL_PROGRAM_FILES%\TestApp\TestApp.exe'. Unable to load the CLR. the target device doesn't have a compatible version of the CLR installed for the application you are attempting to debug. Verify That your device supports the appropriate CLR version and has that CLR installed. some devices do not support automatic CLR upgrade." hope you can help me. Thanks in advance Hi Ilya Tumanov Thank You very much for you response. As you installed I have installed VS2 Sp1. But the same error ...Show All

  • Windows Forms font.Height and Graphics.MeasureString failing on user machine?

    I have a Forms app that prints reliably on my laser printer but fails on a user's Zebra thermal printer. Filling my code with exception logs shows it throwing System.ArgumentException whenever I try to use the Font.Height property or Graphics.MeasureString on the same font. To help track this down I borrowed the user's printer, installed his driver on my development machine... and it works fine. Any suggestions as to what could be going wrong, or other things to check Looking at the Font.Height property implementation, I see no code that could throw ArgumentException, just ArgumentNullException and one of the many GDI+ exceptions. Can you post a snippet of the code that throws on your customer's PC ...Show All

  • Windows Forms How to load XML objects into custom .Net classes?

    Hi all, Hoping someone can point me in the right direction here. I'm writing a VB.Net 2.0 WinForms admin app to allow users to do maintenance on an Oracle database behind another very large app. To keep the size of the admin app down and to avoid a maintenance nightmare when the tables (about 70 of them) change I am trying to write it so it's totally automated. I already have code to read the schema of each table to get the columns and then I have a form that adds an appropriate custom control for each table column. This works very well but I need it to be advanced enough to hide some columns, make sure others are entered, validate some others, etc, etc. So my idea is to have an XML file (see XML below) containing the tables and colum ...Show All

  • Visual Basic WScript is missing/broken

    Hi I have an app I built a while ago under Win2000, but have since "upgraded" to XP.... It appears to compile just fine, but when I run it on another machine, I find this in my log: Public member 'exec' on type 'IWshShell2' not found. Meanwhile, back in my IDE (either VS 2003 or 2005, same thing), the only thing that shows up in the autocompletion for oShell, after creating it like this... is "GetType" oShell = CreateObject("WScript.Shell") obj = oShell.exec(strExec) Note that the .exec remains lower case. It's like I'm missing a reference to whatever the WScript.Shell is in. Any ideas At this point I'm seriously considering chucking this entirely and starting over with java. Thanks ...Show All

  • SQL Server Question on association models: MINIMUM_ITEMSET_SIZE

    I've been experimenting with the algorithm parameters for a market basket association model. The default MINIMUM_ITEMSET_SIZE is 1. This doesn't seem to make sense: what is the point of a single-member itemset However changing the value to 2 substantially reduces the proportion of good recommendations obtained (which I'm testing via a holdout approach). So I'm obviously misunderstanding what the parameter means. Can someone explain it please, and also explain the observation above)   Every item in a dataset is an "itemset", so there are always "1-itemsets", that's just the list of items and their counts. MINIMUM_ITEMSET_SIZE is really only there for those who are only interes ...Show All

  • Visual Studio Express Editions How to see where does class reference to?

    Hello. I am trying to create my own data types (they are classes). When I am testing them I would like to see if two instances references to the same location on the heap. Is there any way to see this while debugging Use this watch expression:  "ReferenceEquals(obj1, obj2)" Quicker: "obj1 == obj2" ...Show All

  • Visual Studio Lost icons in toolbox.

    My insallation of vs2005 standard is acting funny. Some time ago, some of the icons in the toolbox got lost. In the tab "common controls" the controls from "button" to "numericupdown" had no more icon in front of it. A couple of weeks later the icons "repaired" themselve, but they were al numericupdown-icons... I tried the repair-feature of the installation-discs, but the icons remained unchanged. They are still all numericupdown icons Is there anyone who had this same problem Is there a fix Let me know please. For those non-believers: the image is at http://www.wdewilde.be/images/temp/fuckedUpIcons.bmp This happens to me all the time, the to ...Show All

  • SQL Server locking ramification of insert ... select ...

    Suppose on table A and B I run: insert into A select field1, field2, etc. from B In my case B is large (millions of rows). What are the concurrency/locking ramifications for users selecting, updating, and inserting into B while this query runs (I'm assuming an isolation level of read-committed for all transactions) It depends on the resources and locking requirements. By default, SQL Server will take shared row locks on B and escalate to table lock if there is not enough memory for example. Remember that escalation always happens from row to table not row to page. In any case, this will prevent modifications from happening on B depending on which row(s) are being touched. If you don't need a transacti ...Show All

  • SQL Server where can I find Microsoft.ReportingServices.ReportRendering?

    Hi, I could not find this assembly in folder X:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\ReportServer. Please help. I suppose you are looking for the assembly that defines the "ReportRendering" namespace. In RS 2005, this is: Microsoft.ReportingServices.ProcessingCore.dll -- Robert ...Show All

  • Visual Studio Tools for Office Command bar in Outlook

    Hi, I am trying to create a command bar in Outlook 2003 (VSTO, C#) that would look similar to task pane. Command bar should be docked to the right, with a specified width and when placed there the buttons shouldn't be rotated (if I create a simple command bar with a button and dock it to the right side, the button is rotated). Is there a way to accomplish this Thanks in advance. Hello Peter I think your question is more specific to the Office OM/API. Please take a look at this post for information on other MSDN forums & newsgroups that might be better suited for this question. Mike ...Show All

  • Visual Studio Crash while Building DSL Project(s)

    After two months of successfully building DSL's, I am now unable to Build any of my DSL projects. The build process terminates after the following line appears in the output: C:\Microsoft Visual Studio 8\Common7\IDE\devenv.com /rt "Software\Microsoft\VisualStudio\8.0Exp" /setup I'm able to sucessfully build these projects on another machine. I presume that my Experimental Hive has somehow become corrupted. Does anyone know how I can make my machine functional again You can try resettings your experimental hive. Available through a shortcut of the VS.NET SDK in your start menu. Or via: "VsRegEx.exe GetOrig 8.0 Exp". Hope it helps, Gerben. ...Show All

  • Visual Studio 2008 (Pre-release) Problem with Menus and Frames with HTML source

    In a Browser Application, I have a Menu and a Frame on a page and the page opens a web page inside of a Frame. The problem is when the Frame source is a webpag, the menu drops down BEHIND the Frame. If the Frame source is an xaml page, the menu drops down in front of the frame area like it should. Is there any way around this Example: (the amount of menu items is necessary to see that the menu actually does open up and it is under or behind the frame) < StackPanel > < Menu > < MenuItem Header = " Menu " > < MenuItem Header = " Item " ></ MenuItem > < MenuItem Header = " Item " ></ MenuItem > < MenuItem Header = " Item " >< ...Show All

©2008 Software Development Network