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

Software Development Network >> Greg Brewer's Q&A profile

Greg Brewer

Member List

ukrutter
bbJosh
harcrow
zu35926
fdc2005
ALFKI
mattdawg
nativecpp
theregit
Virtual Reality
Sondre - MSFT Regional Director
sxzhan
perf101
manukahn
Quack!
williambeaker
Juan64
pimmy21
Ronaldlee Ejalu
ice_princess
Only Title

Greg Brewer's Q&A profile

  • Visual Basic Date. IsDate instead of IsNumeric .

    hi all how can i write Date (dd/mm/yyyy)  in textbox without using Date and Time picker in vb.net in other words how can i use textbox in date format...... and ofcouse the date must be valid. Vimal Hi, if you mean to just show the date, then try this: TextBox1.Text = System.DateTime.Now.ToString("dd/MM/yyyy") ...Show All

  • .NET Development Remote XML

    I have to post to a XML file on a web it requires updating the name of the file and only adding three elements how can I do this We are creating a custom server for this reason. It is to act like a corprate DNS for our many branches. i.e. Bob logs on and the xml is updated with his USER_NAME and IP_ADDRESS and BRANCH_NUM then the xml is sent to all other users with the same information. We are not sure if we should use UDP or TCP or truthfully not sure on how to achive any of it. There will be one host running this server at all times but they do not have a web site only a static ip. We considered having just an XML file on the machine and everyone retrives and updates it.. Then repost it back to its origanal location. would this b ...Show All

  • SQL Server SQL server express - cannot copy data with keep identity

    I've been trying for over a day to do something that should have taken five minutes, copy a 5 meg. database to my new host provider. I'm not allowed to attach or restore databases or use bulk insert. The hosts official advice on data transfer is to use DTS in a trial version of SQL 2000 enterprise manager. The copy I temporarily installed from an old disk wouldn't connect to my SQL 2005 express instance, so I gave up on that. I wrote some sql to generate a script that would switch keep_identity off for each table then "insert into host.x select * from x" where I had set up the host sql server as a linked server on my source. I gave up in this approach when I realised I would have to actually specifiy all the column names in ...Show All

  • Visual Studio Express Editions Drag and drop, control placement...

    Maybe I missed it, but how come when I attempt to drag and drop a control from the toolbox to my webform it always ends up at the upper left hand corner of the form BTW, the same thing happens when I double-click on a control in the toolbox. Thanks for your idea. I did as you suggested. Unfortunately the same thing happens. Is there some IDE option I need to set/reset ...Show All

  • Visual C# convert from decimal(base-10) to alphanumeric(base-36)

    dear All, I am creating a program that generate id for any incoming material lot using hexadecimal ID, Since the number of incoming material lot increasing rapidly, we plan to move to a new ID number with alphanumeric(0-9,A-Z). The convert class doesn't support the base 36 type. Does anyone have any idea for my problem Any help is very appreciated. Thank you regards Freddy Halim n0n4m3, I was hoping that you could help me by posting the code to convert from base-36 to base-10 Thanks in advance, MMcNamara ...Show All

  • Windows Forms DataGridView Column Header Cell Style not working

    The backcolor for row header and column header does not work. e.g. Grid.Column(0).HeaderCell.Style.BackColor=Color.Blue Grid.Rows(0).HeaderCell.Style.BackColor=Color.Blue Grid.TopLeftHeaderCell.Style.BackColor=Color.Blue Sorry you will have to draw the column or row headers yourself if you want to change the color. Paint in Column Header or Paint in Row header ...Show All

  • SQL Server Insert SQL table into AS400 Alias

    I have a SQL 2000 table that I want to insert into an AS400 alias. The 400 is a linked server to SQL. I can insert 1 record at a time with Insert OpenQuery. insert openquery(AS400bck, 'select * from netfil.sp') VALUES(1,6,2493,1,30,180,1,-8.00,0,-100.00,0,0,30,180,180,'',2,'X','','') One of the tables is quite large so I don't want to have to use the values clause. How can I insert the entire table at once Does this work I only have read only access to my AS400 environment... insert openquery(AS400bck, 'select * from netfil.sp') select [columns] from table where xxx=yyy ...Show All

  • Audio and Video Development Persistent Storage - 64 or 128?

    I believed that 128 was the minimum amount of storage per the spec. However I just came across a document by Sonic (dated August 06) that claims 64 is the minimum. Which is correct ...Show All

  • Windows Forms Settings: Select a Type Dialog Box

    What determines what choices you have to choose from in the "Select a Type Dialog Box". I thought the choices would coincide with your project's references, but i have found that it does not. Any ideas This dialog is reachable by  1) Right clicking on your forms project, and choose properties.  2) Choose the settings tab  3) In the Settings datagrid click the "Type" Drop Down and choose browse(all the way at bottom of list).  **EDIT: BTW the I am trying to get Microsoft.Office.Core.msoBarPostion as a Type and I can't get Microsoft.Office.Core to show up in the dialog even though it is a reference in my project.  This Problem is not specific to Microsoft.Office.Core because i have seen this with o ...Show All

  • SQL Server Problem with Report Model.

    Hi, I am using report model as my data source and when I preview my report, I got the following error message: An error has occurred during report processing. (rsProcessingAborted) Cannot create command for data source 'xxxx'. (rsErrorCreatingCommand) An attempt has been made to use a data extension 'SQL' that is not registered for this report server. (rsSemanticQueryExtensionNotFound) Anyone has any idea how to fix it Many Thanks, UT A couple questions: What Version & Edition of SQL Server do you have installed Do you see this same error when you publish and render the report from Report Manager Is the Data Source local to your Report Server - Jason Tremper ...Show All

  • SQL Server Got BIDS working, was there another way?

    i re-installed the SQLEXPR_TOOLKIT.EXE several times(4) trying to get the BIDS part to work. Each time i had the issue of it looking for the devenev.exe as others have mentioned. I gave up on a 5th install and went for the unsupported option of running vs_setup , after the toolkit.exe dumped all the install files to its temporary directory i went in there and ran it sperately... but essentially i did it the same way as this method... http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=368549&SiteID=1 while this did work, it seems to be the unsupported way. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=665067&SiteID=1 Im not opposed to going back and doing it right, but was there ever a conclusion as to why the BIDS prog ...Show All

  • Visual Studio Tools for Office Outlook addin stops responding

    Hi, We have built a VSTO-SE add in for Outlook 2003. Our add-in functionality can be be initiated in 2 ways, manually or can be set to initiate after given period of time, something like "auto send/receive mail" functionality. But sometimes when our add-in initiates a process (e.g. auto initiate process) outlook stops responding and crashes. We have to forcefully kill the Outlook process. This is happening more frequently now. Some possible reasons that we came across are: When we are switching between mail folders sometimes outlook freezes. User is checking for new mails when outlook freezes. We have not been able to replicate this issue with debug mode on. Is there any explanation for this behavior. Regards Sid We are ...Show All

  • Visual C# R

    Hi all,    we  are facing a problem of performance issue in our project.    we are using C#,asp.net 2.0 and sql server 2005    here is the list of major implementation which we have done in our project.    1. Language implementation using Hashtable for whole project.       We have implemented singleton class for this process.    2. A page contains 13 user controls.    3. A page contains approx 40 select queries to be performed    4. In few places we have implemented ICALLBACK.   We have checked in Memory profiler also It show after loading it shows morethan 1 ...Show All

  • Windows Forms FlatMode for DataGridView?

    Hello. DataGrid can be displayed in non-flat mode (grid.FlatMode = false). How can I make DataGridView display non-flat data (for example XML) Hello, hrubesh. Sorry, but the example doesn't do what I actually need. "Orders" elements from the example aren't displayed. DataGrid displays "+" in the first column to expand the values. I need DataGridView do the same. Is it possible ...Show All

  • SQL Server Desperate on installing SP 1

    after we download sp1 and hit runj, we got "Unspecific Error Occur" popup window, with message:The following unexpected error occur:" then without any detail. here is the hotfix log: Please help 08/01/2006 14:33:51.967 ================================================================================ 08/01/2006 14:33:51.967 Hotfix package launched 08/01/2006 14:33:51.967 Successfully opened registry key: SOFTWARE\Microsoft\Windows\CurrentVersion 08/01/2006 14:33:51.967 Successfully read registry key: CommonFilesDir, string value = C:\Program Files (x86)\Common Files 08/01/2006 14:33:51.967 Successfully opened registry key: SOFTWARE\Microsoft\Windows\CurrentVersion 08/01/2006 14:33:51.967 Successfully read registry ke ...Show All

©2008 Software Development Network