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

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

Tryin2Bgood

Member List

JeevesIndia
RajLakamana
Buhari
Schliff
blender
Nishakant
Paul Johnston
N. Farr
RajMohapatra
SharePointing
melody45
Ragas
FugersonHall
ahmedilyas
Manoj Verma
mujadaddy
fddsfsdf
iGNiTe
saghrouchni
jkeele
Only Title

Tryin2Bgood's Q&A profile

  • Windows Forms how to disable "X" button in the form

    HI Each form has three buttons in caption bar, maximize, minimize, and closing("X") buttons, in the form properties, there are properties for maximizebox and miniizebox, but I didn't find method to disable closing button. Anybody knows how to do that Thank you very much! There's another method with overriding form's CreateParams property. See this older thread for more info. Andrej ...Show All

  • Visual C# Group by time period which spans two dates!!! HELP

    Lets see if some of you RS Gurus can help me on this. I have a start_time column that returns the date and time. I have converted these out to return the date for one column and the time (24 hours) in another column. I have a report that I need to group by a 24 hour period that starts at 20:00(8pm) and should end again 24 hours later (20:00) 8pm. This should be my time period for each day. The problem is that when I group for each day it is returning the results for the day on a default 00:00 to 00:00 time period. I need to group for each day but I need that days time to be from 8pm to the following 8 pm. If someone could clue me in on this I would be forever greatful. I don't know how to get past the default times for the date groupin ...Show All

  • Visual C# validate integer input

    I have this console application which calculates parking charges based on the "hours" user input. it works fine when user inputs an integer value. however, if the input is not integer, i.e. "decimal" or "string", the app crashes. "try catch" can handle the exception, but it is not what i want. i want to validate the input, keep ask the input if it is not valid. please help class parkingcharges { static void Main(string[] args) { //request hours input Console.WriteLine("How many hours do you want to park your car for (enter negative value to exit)"); int hours = Convert.ToInt16(Console.ReadLine();); while (hours >= 0) ...Show All

  • Visual C++ jpeg file conversion problem

    Hello everybody i m developing one application which takes picture from camera and save it in to the harddisk. im using gdi+ (Image.save()) method to convert image data in to jpeg format.i have created one thread using afxbeginthread function. i set thread's priority low. but it spoil image. im not getting good image and when i set thread's priority high (above normal) then while function is being executing the other process get freez. for example when function is being execute other process like vedio catpuring stop for some time and again it starts. anybody know how can i solve this problem Maybe you should use high priority only for the part which takes the image and stores it in me ...Show All

  • SQL Server Search Stored Proc

    Does anyone know a way to seach through all databases on a SQL 2000 server looking for a particular stored proc by name Thanks guys, that was the answer I needed.  The n00b can see better now.  Do you mind explaining what the '~' does in that query   Maybe walk me through the statement so I can understand it better   ...Show All

  • .NET Development How to diplay web page inside another web page window?

    Hello, I would like to display small window with web page inside window of antoher web page. is it possible how to do this using HTML Thanks! cyberjoe Hi cyberjoe, The most simple solution for that is to use an IFRAME.... anyway I recommend you to look at http://forums.asp.net in where you may find more ASP.NET and HTML related Q&A. Regards, Rodrigo ...Show All

  • Windows Search Technologies Deleted items still showing up

    How do I get deleted items (email inbox, deleted items, sent items, etc.) to stop showing up in the search results. For example, I recently deleted a file from my inbox. It was in my deleted items folder until the end of the day when I rebooted my computer. My Outlook settings delete all files in the deleted items folder upon exit. The next day I do a search and this file shows up in the index in two places - the inbox and the deleted items folder. It is in neither. It does not exist anywhere anymore. Is there a setting to take deleted items out of the index ...Show All

  • SharePoint Products and Technologies Longhorn Server CTP Feb 2007 + MOSS

    I am trying to install SharePoint Server V3 on a newly installed Longhorn Server Feb 2007 CTP server. I got it to install, but i keep getting errors during configuration. When it gets to step 7 "Provisioning Central Admin Site" It keeps giving an error saying a file or a portion of the file is locked Can I install SharePoint on Longhorn Server Feb 2007 CTP I am assuming that this is some Longhorn security issue. I don't have Indexing enabled, i am an admin on the server, i turned off the security policies, etc. Still no luck. Any help on this would be appreciated. Thanks Hi Tom, Could you please help me with one issue I have also installed the Longhorn Server Feb 2007 CTP and now I'm trying to install ...Show All

  • .NET Development Need some advice on how to approach this problem (web service calling C# application methods)

    Hi everyone, I've been working on a solution to this project I was assigned, and after working on it for a couple days I thought maybe I was approaching it the wrong way. Basically what I need to do is to get a web service to access an a method or two on a locally running C# Windows application (Like for example have the web service send a string to an int method on the C# application). The way I have approached it thus far is by having the application register itself with the ROT, and then attempting to grab it via Monikers, etc. I've moved along pretty far with it thus far, but then thought that it could possibly be easier by creating a COM server/client type thing, with the C# application being the server and the web service being a "te ...Show All

  • .NET Development KB917283 KB922770

    I have tried many times to install these two critical updates on each occasion it says successful installation and shows up as ok on the program list but then when I reboot my PC I get the same yellow icon telling me to install them again. What can I do Have you tried installing the updates through the Windows Update website If so, do you get an error code About the log file, you will find it in your temp folder right after the installation. Just look for a file that has the KB article number in the name. ...Show All

  • SQL Server Running XMLA from a transact SQL script

    Can someone tellme if I can run an XMLA statement from a transact SQL function like OPENQUERY For example: OPENQUERY(SSAS_LINKED SERVER , '<Backup> <Object> <DatabaseID>SSAS_DATABASE</DatabaseID> </Object> <File>C:\SSAS_BACKUP_FILE.abf</File> </Backup>' ) I want to use a method like this to backup SSAS databases with a dynamically generated filename that contains the date of the backup. I would prefer not to use ASCMD as it is a bit harder to track the success of the backup, and opens up some security issues as you need to use command shell calls. Thanks, Stuart I have not checked (my laptop is currently loading SP2) but I would be almost posi ...Show All

  • Visual C# are using statements nestable?

    using ( SqlConnection connName1 = new SqlConnection ( "....... <database1> { .............. using ( SqlConnection connName2 = new SqlConnection ( "....... <database2> { ............. } } Can I nest using statement blocks Thanks. You can also do this: using ( SqlConnection connName1 = new SqlConnection ( "....... <database1>")) using ( SqlConnection connName2 = new SqlConnection ( "....... <database2>")) { //block of code for using two objects } ...Show All

  • Smart Device Development Shift F5: need to dispose of resource from VS stop. Where?

    I've overridden form's OnClosing to dispose of barcode scanner object .. and it works fine when I close my form with the X button on the device.. however if I hit shift F5 (stop button) in VS2005 the application won't close and crashes the device because I haven't disposed of the scanner object.. Anyway I've tried disposing of it in dispose and other ideas but I cannot get it to call any code to dispose of my object when I end the program through visual studio (which crashes my device and is annoying).. how can I make it run this code when I click stop or press shift + F5 in visual studio. // code to dispose of Symbol's scanner object... Where to put it so Shift f5 // and form X button calls this What happens when I sto ...Show All

  • Smart Device Development Datagrid in PPC2003 that wrap line in column.

    How I wrap line in datagrid and only set border color for one row in compact framework Is autowrap available in Windows Form only If not, is there any control that someone has done that replicate datagrid but with ability to autowrap line, and set border for row . And how do I detect a row is not visible in datagrid thank There's no good way to change row height. You might use reflections for that – it was discussed before on this forum, I'm sure you'll find it in no time. ...Show All

  • Visual Studio Team System Invalid postback or callback argument when trying to add a Web part

    I was trying to change the lay-out of the shared page of the sharepoint portal. After adding a webpart i got a screen where i selected all the web-parts and after that the startpage of portal did not contain any webparts anymore. When adding new webparts to the startpage of portal the following error occurred. Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScr ...Show All

©2008 Software Development Network