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

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

James_Moore

Member List

Ronan Jordan
CharlesF
ScaryKidsScaringKids
Dmitry Arefievich
erodcav
Jan Byvaly
Abraham Heidebrecht
PiroNaut
KentaroM
三晋一枝花
Markmar11
ZackL
TimMulholland
lucerias
nhl66pens
Abhishek Chadha
shaper
Al33327
Kim Carlsen
Ishai Sagi[MOSS MVP]
Only Title

James_Moore's Q&A profile

  • Visual Basic Case Usage

    I am pretty much a noob programmer, but I'm getting the hold of visual basic pretty much. But in one of my programming attempts something is messed up, because as far as I know my code is good... Take this code: the Val thing did the trick thanks Matt everything is good, thanks for your help both of you... the problem was that I just used the string value...I needed Val... To Dman: Maybe youre talking about Case Else originally i didnt use case else, I just stuck it after the select case and end case statements after using Case Else it worked thanks again.. ...Show All

  • Commerce Server Removing items using custom pipeline component.

    In our model, we use a soft delete of products to indicate a product is no longer being sold. Our custom property is currently not checked by the Basket Pipeline, so what I did was create a custom component that checked this property and if set, it gives a custom error message and then adds the Item["delete"] = 1 line. This component was put in the basket pipeline after QueryProdInfo and Before RequiredProdInfo. The problem is that I don't want the RequiredProdInfo to display it's message saying "Items in your order have been removed because they are no longer sold" on top of my custom error messages. Can someone tell me how I can remove the line item myself as RequiredProdInfo does instead of setting the "delete&q ...Show All

  • SQL Server Major Problem!...Multiple user connection problem in reporting service 2000 with SOAP

    Hi Everyone, I am having a big problem here. I am using Reporting Service 2000 and Visual Studio 2005. I have developed a custom web control which communicates with reporting web service and displays report. I pass username, password and domain information as network credential for communicating with report server (report server is remote). This is a web application in which users can see reports on the web page which uses my custom web control. Everything works fine when there is single user. But when another user logs onto website and tries to access same or different report it seems like connection of the first user gets lost. And everything crashes for first user and for second user it works fine. In fact if second user is ...Show All

  • SQL Server SQL Profile - Duration value more than Profiler run time

    Hi All, We monitored the event RPC:Completed in SQL Profiler for a web-service call, which in turn calls an Stored Procedure and the results were strange. The output came very quick, but the duration value was too high. The actual time taken by query was in milliseconds, whereas, SQL Profiler show around 8minutes(after converting data from microseconds). So, we decided to monitor Stored Procedure completed event by executing the stored procedure in Query Analyzer window of SQL Management Studio and here are the results, which are again very strange SQL Profiler Trace Start Time: 11:34 SQL Profiler Trace End Time: 11.36 SP:Completed Event Start Time: 11:34:55:023 SP:Completed Event End Time: 11:34:55:723 Same date for Start and End time. SP ...Show All

  • Smart Device Development Power off/on with EXE on SD Card

    If you run an EXE that resides on an SD card, then while it is running, you turn off, wait a few seconds/minutes then turn back on, will the app continue to work correctly or will it crash because the PPC had to remount the card and reassign file handles I developed an app, runs fine in main memory and runs fine on the SD card. However, when I power off, then on, the app will crash when it is on the SD card, but run fine it in main memory. Any docs, PDFs, URLs that go into detail about this issue Thanks, Hilton I suspect you are correct and that is memory mapped file paging done by the OS. It looks like NETCF maps managed assemblies this way so they won't eat up virtual memory of the process. If assembl ...Show All

  • Visual C# Disposable Pattern: disposing at finalize-time

    According to the Ressource Management Whitepaper  and the disposable pattern described there: public void Dispose() { Dispose( true ); GC .SuppressFinalize( this ); } ~MyType() { Dispose( false ); } protected virtual void Dispose( bool disposing) { if (disposing) { //dispose-time cleanup } //finalize-time cleanup }   it seems to hint, that I should not call someMember.Dispose() at finalize-time but only at dispose-time. If someMember is a TextWriter how can I make sure that TextWriter.Dispose() or TextWriter.Close() is actually called if the user of MyType forgets to call Dispose(). This is imporant since the TextWriter might still contain data that has not ...Show All

  • SQL Server Efficient table record size

    I understand that I can put a massive 8K varchar in one data page, but I want to know if that is the best design. I have a data stream that can be from 10 to 7000 characters. 90% of the time the field data length is less than 700 characters. Is it better to create one massive varchar field or to create multiple smaller varchar fields (Perhaps varchar(700) fields ten times.) Or does it matter (Also, the record is primarily inserted once then just read from then on.) The query with the smaller fields would look like this: SELECT RTRIM( LEFT( ReportStream1 + SPACE(700), 700) + LEFT(ISNULL(ReportStream2 , '') + SPACE(700), 700) + LEFT(ISNULL(ReportStream3 , '') + SPACE(700), 700) + LEFT(ISNULL(ReportStream4 ...Show All

  • Visual Studio Setting Page Orientation of a report/crystal report viewer at runtime

    Hi, How to set the page orientation of a Crystal report at runtime in C# Thank you, Regards, Deepa. I've been trying to find the answer to that question too. I believe you need to get the devmode for the printer you want to change and set the dmOrientation attribute to portrait or landscape. What I've learned so far is that .NET has no functionality for doing that yet. So you have to import unmanaged functions from a DLL. This makes for a very cumbersome solution, as you have to import a ton of code to accomplish one small task. Here's the code I found and am working with. But I am stuck on the OpenPrinter( ) call in the GetPrinterSettings( ) routine. My call keeps returning 0, which throws a Win32Exception. using ...Show All

  • Visual Studio Express Editions Placing " inside quotes?

    Hi all, Sorry if this is a dumb question but I've been searching all day for an answer. Basically I need to embed double quotes in a string that is being written to a .txt file So I'm looking to get a line that look something like this: Here's the contents of the line "complete with quotes" in the middle ...but when I use the " function, it actually puts the text '%quot;' in the file rather than double quotes. If I try and embed " within the string, then VBE reports an error because it thinks I'm terminating the string Any thoughts TIA in VB.NET, should be double quotes to include quotes. Example: Dim myString as String = "hello my name is " &quo ...Show All

  • Visual Studio Express Editions Encrypt to Md5 or Sha1

    Hello, i need to encrypt a string to md5 or sha1, i did this in vb long time ago. but gave me other values then php did. now i want to do this with C# and get the same hash codes. Hello in php is: Sha1 Encryption: f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0 Md5 Encryption: 8b1a9953c4611296a827abf8c47804d7 Can someone please help me with this Thanks so much Chris take a look at this: http://msdn2.microsoft.com/en-us/library/system.security.cryptography.md5.aspx http://msdn2.microsoft.com/en-us/library/system.security.cryptography.sha1.aspx ...Show All

  • Windows Forms implementing on-demand download of assemblies

    how does one use clickonce to create an app that downloads assemblies at runtime when they are needed i want to create an app that can be linked to several different assemblies. users from several different groupings will be using this app, and each different group will require a different assembly file to be linked. how is this best accomplished is there a way that particular use of an executable (clicking a particular button in a form, for instance) can cause a particular assembly to be loaded or, should i have the correct assemblies downloaded upon installation, by asking the user in the installation process for some indication of which grouping he or she belongs to. how would i do this I recently found this MSDN article Downlo ...Show All

  • Visual FoxPro Generated EXE Crashes... Help please!!

    Hi, I need urgent help with this please... I've made my app on VFP, it fully works and all is fine.. but when I generate an .EXE file, and open it, it kind of shows the VFP interface, then it crashes and goes back to the folder where the file is. I don't know why, I'm even testing it on the same PC I developed it in. I'm sorry, but I'm kind of new to VFP programming, and this is an assignment I got, so I desperately need this fixed... Thanks for the help. 100% appreciated. It's not crashing. It is closing. This is because you are missing a READ EVENTS Read the help on this important command. In short: VFP needs a wait state. When in the IDE it provides the wait stte needed. An EXE does not have it so R ...Show All

  • SQL Server Select Data from Two Tables

    The table Schema Employee: primary key (EmpID) EmpID EmpType EmpName EmpSalary OTAmount/Per Hours 101 0 Kumar 110 20 102 0 Anit 105 20 STF001 1 Mohan 6000 50 STF002 1 Malar 5500 50 Here EmpType 0 = Worker and 1 = Staff Attendance : primary key (AttnEmpID) AttnEmpID EmpType EmpName AtDate Status InTime OutTime 101 0 Kumar ...Show All

  • Windows Forms Windows Forms Parking Window

    I have a System Tray icon application that is causing my shutdown to hang.   I have ShowInTaskbar = False set,  but I still see this icon in the Alt-Tab window.   I think this is the problem...    When I go to shut down, I get this "Windows Forms Parking " window message inside the "end task" window that popsup (but it doesn't time out and force a kill of&n ...Show All

  • Community Chat VB.NET

    please does anyone know how to create a non visual class that has the behaviour to count characters, words, alphabets, vowels, consonants, digits thanks hi mr baba i think i know you as i am doing same assignment.... ohh sorry i suppos not to say that it is assignment......... lol take care n let me know if u need any help... ...Show All

©2008 Software Development Network