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

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

ardmark

Member List

yhong
Tom_Liu
AlexBB
DanDanne
Ljhopkins
Lawrence 007
Vlad Bezden
PN247
rpskumar
jdang
carpediembr
Lucian Wang
BobInIndy
slickred
Carel Greaves
Cisco_Systems
Oh2BaLuddite!
Drew Marsh
Boulderdude
Matt Deane
Only Title

ardmark's Q&A profile

  • Visual C# Math: Round up number. eg 1234 / 50 = 6

    I have a dataGrid and i wish to produce page buttons for next and back. Therfore i need to know how many pages i will need to for my data Eg, i have 1234 rows of data and each page will contain 50 rows. So 1234 / 50 = 24.68. So I need 25 pages How do i round up a number so 1234 / 50 = 25 . Thanks. Paul I worked it out. int totalPages = 37 /6; int remainder = 37 % 6; if (remainder > 0) totalPages++; ...Show All

  • Visual C# Including " Quotation marks in strings.

    I am trying to include quotation marks in a string, and struggling. The string should be; "VOLT" However if I define the string as I would normally; public string VoltString = " "VOLT" "; errors are thrown since the compiler sees the first two quotation marks and thinks that anything between them is the string, then throws an error on the reminder of the line VOLT" "; . One way around this would be if I could remove the quotation marks again though the same issue arises since the code would be; char[] trimChars = {"""}; string voltString = voltString.Trim(trimChars); and again I end up with three quotation marks and the compiler seeing only the fi ...Show All

  • Visual Studio 2008 (Pre-release) WPF: How to Close Parent Browser Window of WPF windows application

    Hi, I have WPF windows application deployed over network. When I run this application, framework opens the browser window and hosts this application in browser. In my WPF application I have provided a <Close> button which is suppose to close my application along with parent browser window. On <Close> button I close my application using System.Windows.Application.Current.Shutdown() Now the problem is, my application get closed, but the Browser Window which hosted my WPF windows application does not get closed. Browser window remains alive with fucus on it. Please let me know, how I can close both, application and Browser using <Close> button in WPF windows application. Thanks, Mahesh Declare the HTML fi ...Show All

  • Visual Basic How to make connectivity with Public Folder of MS Exchange Server & retrive data from it

    Hi friends! My requirements is to make connectivity with Public Folder of MS Exchange Server for Outlook using VB6.0 or VB.Net. I want to pullout data from Public Folder and want to store in a Excel. Any tips, suggestion or link regarding this topic will be appreciated. Regards Kirti One way I would figure would be to use Outlook to connect to the exchange to get the mail items and use Outlook's Object model to achieve this Using Outlook Automation http://support.microsoft.com/kb/220595/ Then look at the Outlook object model. http://search.live.com/results.aspx q=outlook+%2B+object+model&mkt=en-us&FORM=LVSP The may be able to use the Excel automation ...Show All

  • Visual Studio 2008 (Pre-release) UDP Multicast Sample link broken

    There is a UDP Multicast sample in the samples section on the .netfx3.com site. I don't know who to tell, but the link is broken. If you click on it, then accept the license agreement, it goes to a broken link. Here is the link: http://wcf.netfx3.com/files/folders/transport_channels/entry6762.aspx If anyone knows who to forward this to, I would appreciate it, I would like to look at the sample. Kevin ...Show All

  • SQL Server Count & LastNonEmpty

    Is there any way to make Count work properly on a measure group where aggregation for every single measure is set to LastNonEmpty Basically it's a fact table that contains periodic snapshots of data & so count only makes sense within the slice based on insertion time. Thanks! What kind of count do you want in this snapshot scenario - is it a count of all objects for which there is data - could you illustrate with some examples And are the snapshots synchronized, or could they be created at different times ...Show All

  • Connected Services Framework OHSBE Installation issue - OHSBE Monitor windows service generates database access exception.

    Hi, After installation of OH-SBE, when verifying the installation, OHSBE Monitor windows service generates following errors in eventlog: The errors points out unautorirzed access to database as access to port is denied. It appears that some OHSBE component is trying to access OHSBE database and is denied the access. I have OHSBE database installed in same syatem as OHSBE. -------------------------------------------------------------- OHSBEMonitor service start up Error -------------------------------------------------------------- Timestamp: 9/13/2006 4:59:33 PM Message: ********************************************** Exception Messages: Type: Microsoft.ConnectedServices.Sbe.OrderHandling.Exceptions.DatabaseException Name: G ...Show All

  • Visual C++ ATL OLE DB Consumer Wizard crashes VS2005

    I am learning how to create an OLE DB Consumer application by doing a simple example as described in the MSDN Library in an article entitled "Creating a Simple Consumer". This article is found in "Visual C++ Programming Guide > General Concepts > Data Access > OLE DB Programming > OLE DB Consumer Templates > Creating and OLE DB Consumer > Creating an OLE DB Consumer Using a Wizard." Since I want to write a C++ application that will interface to my VFP database, I want to use the Microsoft OLE DB Provider for Visual FoxPro. I have it connect to an my existing VFP database on my system. I follow the instructions in the article. I am in the section where I am using the wizard to add a class. I ha ...Show All

  • Visual Studio Express Editions Gobal imports. Is this possible?

    Hi Quick question, is it possible to have a global imports statment in a module which can then be used by all forms in the application instead of having to write an imports statment in every form. e.g I have Imports System.Data Imports System.Data.SqlClient These are in a module, but are not referenced by the forms. Is there a way to publicly declare this. Any help is appreciated. In your project properties, under references, you can set the Imported Namespaces. These will be globally available through your application. You won't need to add it to each and every form/module. ...Show All

  • SQL Server SQL Programs on X64

    I have been running a commercial programme written in SQL on my XP pro 32 bit computers without trouble. I have just changed two terminals to X64 and have now discovered that the programme will not operate on them. I have spoken to the programme writers and basically they are not interested and say that I should revert to 32 bit. This seems crazy to me as I would have expected a programme written in Microsoft SQL to work okay on X64. Any ideas what I can do about my problem ...Show All

  • SQL Server Flat file source nightmare

    I've been working 4 days non stop on this project, lost a complete weekend on it and I totally had it. Please have a look at this "simple" question: I have a for each loop that checks for csv files in a folder. The path of the file(s) is stored in a variable varFileName. So far so good. But then I start with a data flow task and inside that data flow task I need to access one of those csv files at the time whenever it loops. So my best guess is use a flat file source because that's the only task I see in the list that fits my question. But the thing is, you set up a connection to a....yes right, a flat source connection and there you have to select a flat file. But no, I don't want to select ONE file, I need to access them ...Show All

  • Visual Basic DatagridView scrollbars

    Hi, I really need help on this one. I have a DatagGridView which has its scrollbars for both horizontal and vertical which can fit around 6 rows before the scrollbars show up. The Form hangs when the vertical scrollbar shows up. My application works fine when im just running it on debug but when im testing it on a published exe, it hangs when the vertical scrollbar shows up. Please any help or ideas will be very much appreciated! Thank you so so much! Stanley Rain3204, The different results between your debug and publish depends on your program running environment. Generally speaking, there won't be any difference in the above two mode of your project. I guess it is the mistake of your publ ...Show All

  • SharePoint Products and Technologies Problem with create/submit a SSL certificate request

    Hi experts, (assumption: ComputerName: Machine1; my website: www.abc.com ) I have follow the instructions as http://support.microsoft.com/kb/290625/en-us for create a certificate request. When I created the request, I typed Machine1 as Common Name . However when I try to submit such a request as suggested with e.g. http://abc.com/certsrv/ , it shows the 404 page not found error. I' m pretty sure my IIS works and other pages are working fine also. I was wondering, 1. Did I do anything wrong with that Common Name I 've also tried to make a new request and insert e.g. abc.com as Common Name , but when I try to submit the request, some thing happened with 404 error. 2. Is there any other way I can submit the request other than t ...Show All

  • .NET Development Develop a Game Server Control Panel

    Hello Everyone,      I want to develop a game server control panel like www.GameCP.com and  www.kronos-cp.com .  I am new to game server control panel programming, so i want to know how can I integrate with game server and perform all the tasks like start/ stop/restart server, check how many users connected to the game server etc. using asp.net. Thank You Hello, Thank you for your reply. I wanted to deveop a contol panel fo game server. I want to know how we can issue RCON commands to game server, how we can start, stop, estart, shutdown the sever. If this is clear to me then I can start to develop that, but still I did not get any clue, as I am new to th ...Show All

  • Windows Live Developer Forums MSN Live Messenger Addin Settings...

    How do I get the "Settings" button to activate for my Addin It's located on the Addin's page just above the "Remove" button. Also where is the Microsoft recommended place to store the Addin's settings hi, I'm doing a Auto Reply Addin, and I got stuck, with the Setting form, I don't know how to set the variables between the SettingsForm.cs and the variable that hold the AutoReply.cs (MyAddin.dll) this is the cod in the class: public void Client_IncomingTextMessage( Object Sender, IncomingTextMessageEventArgs e) { String Respuesta = String .Empty; switch ( this .client.LocalUser.Status) { case UserStatus .Away: Respuesta += "No est ...Show All

©2008 Software Development Network