Software Development Network Logo
  • Architecture
  • Visual Basic
  • Windows Vista
  • Visual FoxPro
  • SQL Server
  • VS Express Editions
  • Windows Forms
  • VS Team System
  • Smart Device
  • Windows Live
  • Visual J#
  • Visual C#
  • Visual Studio
  • Microsoft ISV
  • Game Technologies

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

xetaksis

Member List

formerly of the exchange forum
Veonmike
Fareez
mtm_king
RogerQuickly
Gorm Braarvig
ucolinfo
Glaudiston
Wolfram Menzel
Chris Bohling
lcc.manuel
DDressel1
Karl Erickson
THE RAZI
laslous
absolute_magic
Ruden
lemmi
Tim Attaway
Brad Lindberg
Only Title

xetaksis's Q&A profile

  • Visual Studio Date Format

    I am using a ReportViewer and I want the reports to display the date according to the regionnal settings. For instance, the date in the reports appears in the MM/DD/YYYY format, but my regionnal settings is YYYY-MM-DD. How can the report display the date with the date's regionnal settings Thank you Sorry I can't give the answer but I have the same question with some additional info I have set the CurrentThread.CurrentCulture to my local culture but when my business object are accessed during the report processing the CurrentThread.CurrentCulture is set to "en-US". Please help ...Show All

  • SQL Server Connecting to SQL Server with database on NFS

    I tried to connect to SQL server 2005 express in LAN Using C# express I got this msg the file \\blablabla\\blablabla.mdf is on a network path is not supported for database file.An Attempt to attach an auto-named database for file \\blablabla\blablabla.mdf failed. a database with same name is exist, or specified file can not be opened, or its located on UNC share.   Is that mean : I can not connect to SQL server remotly using express edition of C# SQL server dosen't support connection in LAN   I tried to set all options like enable TCP IP connection and networks   by the way   T ...Show All

  • Windows Forms Tale of Woe - Convert KeyCode to Char - Please Help

    Hi, I have been trying to create a combo box that does autocomplete (a bit like in the address bar in IE) but I would like to be able to make it so that if I set a flag it will only allow the user to enter values that are in the list. In this case I would like to be able to intercept a key stroke and kill it  ...Show All

  • SQL Server Connection to Analysis services from VB - very slow

    Dear All, I noticed a strange problem with one of my client's computers where in establishing a connection with Analysis services from VB takes 6 seconds, when the computer is not connected to network, but it takes only a fraction of a second when the computer is in networ. We use ADOMD to connect to Analysis server. Analysis services is installed in the local machine. I ran dependency walker and found that the dll WS2_32.dll (winsock dll) is taking most of the time when establishing connection. This issue is very important for us and it would be great, if someone could help me in this. Thanks in advance, Niyas ...Show All

  • Software Development for Windows Vista Using word as a merge engine for form generation

    Hi, We are looking at the possibility of using Word to merge XML (or database based) data into predefined form templates. These templates have static header and footer sections and multiple "flow" sections that would have varying amounts of content that would need to be mapped to the appropriate section. Each content element needs to be to affect it's style and formatting (font characteristics, justification, etc..) based on tags in the data. We would like to know if Word or Reporting Services is a better mechanism for this. We want to know if there is new functionality in Word 12 and determine if it was a bet ...Show All

  • Windows Forms update TextBox bound to DataView

    Good morning, I have some TextBoxes bound to a DataView.  If the user makes any changes in the TextBoxes, I prompt to save or cancel before moving to another record.  Here is the code if the user chooses cancel: else if (this.bolChangedAcct == true) { //Drop bindings this.tabAcctMstrMaint_txtShortAccount.DataBindings.Clear(); this.tabAcctMstrMaint_txtAcctGroup.DataBindings.Clear(); this.tabAcctMstrMaint_cmbBalance.DataBindings.Cle ...Show All

  • Windows Forms Newbie C# form question

    how can i load a form... im usin one form and i want to open another form as a modal one, how can i load it <b>//from inside the button click event on Form1</b> Form2 temp = new Form2(); temp.ShowDialog(); ...Show All

  • .NET Development TextAlignment property does not change in Custom textbox that draws the Text highlighted when the control is disabled.

    I have a custom textbox that draws the Text highlighted when the control is disabled. And here is the code snippet that I have used.However,the TextAlignment property does not change to center and right when property is set.It always seems to show the default alignment. public class txt:System.Windows.Forms.TextBox { public txt() { this.SetStyle (ControlStyles.UserPaint ,true); } protected override void OnPaint( PaintEventArgs e ) { Brush b = new SolidBrush(this.ForeColor); e.Graphics.DrawString(this.Text, this.Font, b, 0f,0f); } } RightToLeft is also not working.Does anyone know how to proceed furthur.Since I am very new ...Show All

  • .NET Development Compute processor time & working set for a managed thread

    Hi, My code hosts external code for which I need to track CPU usage and working set. Each piece of code is independently held in an Assembly and loaded into a main container assembly which manages its execution and lifetime. Basically, I need to know on a per-thread basis, how much CPU usage and working set a thread uses. First, the ProcessThread class does not map 1-to-1 to a Thread class. Moreover, even if I somehow tracked their mapping to get to ProcessThread.TotalProcessorTime, ProcessThread doesn't have working set information. My other option is that, barring a huge performance hit, I wouldn't mind loading an Assembly for eac ...Show All

  • Windows Live Developer Forums How to Recognize that MSN Messenger is the client

    Is there a way to use either css or USER-AGENT to recognize that the page is being viewed from the MSN Messenger window   I would like to just show my regular web pages at the regular URL, but display less content if the client is the MSN Messenger Window. Regards Chris we do not have a version api currently, but this is a great suggestion. one thing you can do it try and call functions which are only available in your current client such as some of the XML Ajax apis which are restricted on older clients that do not have IE 7.0 ...Show All

  • .NET Development Calling a Sql Server function in VB.NET 2005

    I have a function in my SQL Server database called GetCfgValue.  It receives a string parameter and returns a string value.  I want to call that function from within a VB.NET 2005 app.  How do I call that function from inside my application Hmmmm.  That's very strange.  'Add' appears as the first method in the list that displays through intellisense. What version of VS 2005 are you using   I'm using the July CTP (8.0.50630.0).  It seems unlikely, but perhaps there is a bug in an earlier beta.  Otherwise, I don't know what to tell you.  ...Show All

  • SQL Server terminal session name

    Is there any way in stored procedure to find out a name of terminal session initiated connection to SQL Server Thanks for response Hi, try SELECT HOST_NAME() HTH, jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • SQL Server Cannot create new SQL database file.

    Hello, I'm using MS Visual C# 2005 Express, but I can't create a new local database file in the "Add -> New Item" dialog. The Studio doesn't create the database, but shows a file not found message. Any ideas Can you connect to SQL Server Express and create the database manually If yes, then the issue is within Visual C# and you should post this issue on a Visual C# Express forum. If you encounter an error with manually creating the database, let us know what that error is. Thanks Laurentiu ...Show All

  • Visual Studio Team System Sharing issue in VSTS Source control

    Hello guys, I'm trying to migrate our VSS database to VSTS Source Control and I don't really understend how can I make "sharing" happen at VSTS For example we have next VSS source tree: $root |-DummyProject |-Includes |-ProjectA |-ProjectB Both of them have shared files from <Include>. My question is: What is an alternative for us in VSTS in terms of do not re-organize our current code Thanks a lot guys. Two basic ways: Use different relative paths. Let's say your layout is: $/root |-Common |-CommonLib1 |-CommonLib2 |-DummyProject |-ProjectA |-ProjectB |-Includes |- [C ...Show All

  • .NET Development SQL StDev and TOP aggregate functions

    Problem: I have to get some statistical values from a DataTable included in a DataSet; not from a table stored in a database. For instance, let's say I have to get the maximum , minimum and average values contained in a certain column. Question: What is the best way, in terms of performance, to obtain those values I am using the Net Framework 1.1. Some other possibilities: I think it is possible to use SQL to obtain this values from tables stored in a database but in this case I need to obtain the values from a DataSet because it is a requirement to calculate them before the user updates the database. Looping through the entire Da ...Show All

©2008 Software Development Network