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

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

MShanahan

Member List

PeterTPeterT
Kevin S Won
Raulsassaa
nidionys
sureshv
QbProg
sql_chris_nz
JackyLi
Chuck Cobb
Alba
Heenix
Pramod S Kumar
Somesh Chandra
Shirvo
pwhitaker
Alex Chub
Lawrence 007
msteensen
Paul Bates
Jan Kinable
Only Title

MShanahan's Q&A profile

  • Visual Studio Express Editions CSV FILES AHH

      i have a daily output from a front end program that contains three fields in each record field 1 being unique. i would like help on a small vb script that will read yesterdays file ie c:\datayesterday.csv and store the last unique key then read c:\datatoday.csv and compare the last unique key giving me the records added in a third file containing all the fields that are in the records added ie c:\recordsadded.csv anyone help   Add a textbox, a button, and an openfiledialog to a form and try the code below: Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim oldf As String ...Show All

  • SQL Server Managing an axis in a SQL 2005 Reporting Services Chart

        Hi,    I'm getting my feet wet with SQL 2005's reporting services charting features and I can't seem to find a way to have my Y-Axis stay constant.  I've created a Line Chart and have set the Minimum and Maximum scale to 10 for my Y-Axis.  The report seems to ignore this and sets each chart in the report relevant to the data for the series.  This means that my charts, which are performance indicators for individuals, are not consistent in their layout.  Is this a bug, or am I doing something wrong   thanks -James james@4divine.com hi, i also have a problem with the numbers in charts, esp bar chart. currently, the y-axis is on auto-mo ...Show All

  • Windows Live Developer Forums LatLong correct until I move the map?

    Hi, I am working with the map control inside a win forms app. I get the LatLong object from e.View which I get in the OnClick event. The event fires twice for some reason. I get the same lat or long each time the event fires provided I havent panned themap. If Ive panned the map, the first time the event fires I get the correct value, the second time I get an incorrect value. It stumps me. Why are events firing twice Why do I only get the correct lat or long (the second time it fires) if I havent panned the map Any help appreciated. Rob Hi I dont know whether i am correct or not. as i am also having similar problems when i am reisizing the map div.   So after resizing th ...Show All

  • .NET Development I want to program multi-language winform software with C# and xml. how can I do

    the following is my code, use xml file as language package. but when I run it, button's text didn't change. what do I need to config namespace mulLan { public partial class Demo : Form { public Demo() { InitializeComponent(); } /*********************** derrick language *****************/ //read default language public static string ReadDefaultLanguage() { XmlReader reader = new XmlTextReader("resources/LanguageDefine.xml"); XmlDocument doc = new XmlDocument(); doc.Load(reader); XmlNode root = doc.DocumentElement; //select DefaultLangugae node XmlNode node = root.SelectSingleNode("DefaultLanguage"); string result = node.Value; ...Show All

  • Windows Forms SendKeys.Send("+{F9}") problem

    Hello All I have a small problem with Sendkeys My first function sends the send keys (Shift + F9) to keydown event. My problem is how to capture this Shift + F9 conditionly Private Sub cbZoom_Click( ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles cbZoom.Click Try Me .dgvDocuments.Focus() System.Windows.Forms.SendKeys.Send( "+{F9}" ) ' Shift + F9 Catch Err As Exception System.Windows.Forms.Cursor.Current = System.Windows.Forms.Cursors.Default End Try End Sub Private Sub dgvDocuments_KeyDown( ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles dgvDocuments.KeyDown If (e.KeyCode ...Show All

  • Software Development for Windows Vista Question on Referencing Resources (image, fonts, etc.)

    Hi, I have a question regarding referencing resources in Xps. I added a font on a fixed page using IXpsFixedPageWriter.AddFont(false) and I was able to write something on a fixed page having the font I want. However, I can no longer reference the same font on other fixed pages even if I use the same Uri. What happens is that the first fixed page is displayed correctly while viewing the other pages results to an error. What do you think is wrong with my referencing Thanks, in advance, for your answers. av.arce thanks nixps, but is there anyway by which I can post the xps document here maybe I can send it to you through email, would that be alright thanks, av.arce ...Show All

  • Visual Studio using crystal reports

    i have paths of a jpg files in a database field.... how can i display an image on the crystal report using that path field. A blob field is a type of database field. You would store the image file itself in the database. To make things way simpler, I'd just upgrade to Crystal Reports XI, (need the developer edition). Costs $315 US for the upgrade price. ...Show All

  • SQL Server Copying database using "Copy Database" - still failing after SP2

    I am struggling with the "Copy Database Wizard" in SQL Server 2005. I am used to working with DTS to copy data from one server to another, but with the new tools, I am having serious problems (in fact, it's unusable) 1. When copying a database using the "SQL Management Object" method, I always get errors concerning logins. If I select not to copy logins, I get errors "sp_grantdbaccess failed". If I do select to copy logins, the logins can't be created because the machine names are different (one the source machine, the login is called MACHINE1/mylogin, but on the destination machine, such a login cannot be created) 2. For small databases, I ALWAYS get the error "CREATE DATABASE failed. Primary file must be at least 3 MB to accommodat ...Show All

  • Visual FoxPro cryptography failure

    I use _cryptapi class of the _CRYPT class library to encrypt limited amount of information: ids and passwords. They are in a table and the table feeds treeview items on demand. Before appearing in treeview the field values are automatically decrypted. Everything has been working fine until I noticed a problem yesterday. I have done most of development on C: drive but recently began moving the whole project to a G: drive since I set a new OS up on that partition. It is a bootable partition. If the encryption done on C: partition it can only be decrypted on that same partition. On partition G: everything is garbled. If I encrypted an item on G: partition I can decrypt it only here, it will be garbled if I run the application on C: I ch ...Show All

  • Visual Basic VB 2003 & .Net 1.1 - Data Write/Read Issue

    Hi, Working upon an embedded application and have conclusively found the following issue. I have an application that was written before in VB6 that has been upgraded successfully to VB.Net 2003. All issues resolved except the following. Previously, we used the Win32 API to make data writes to a logical disk upon the PC. With the current code, we have upgraded to use the FileStream .Net approach to make all data writes and reads. For interest sake, this is an embedded application that keeps some data in a specific logical drive. The issue is as follows, when I power off the PC and power on, the data is being trashed upon the logical drive where it is being written. I am almost certain that the VB.Net approach we have imple ...Show All

  • SQL Server key columns

    I have noticed that Microsoft SQL Server 2005 Everywhere Edition OLE DB Provider doesn't support DBPROP_UNIQUEROWS property from DBPROPSET_ROWSET property set. Does it mean that I have to use the KEY_COLUMN_USAGE rowset to get list of key columns in table Yes, you should use DBSCHEMA_KEY_COLUMN_USAGE in this case. or you can get the same information with the following query: "select * from information_schema.key_column_usage;" ...Show All

  • Windows Forms Shortcut activation over network is not allowed

    I deployed a click once application and all works quite fine. The user has a roaming profile and the desktop is on a share of a server in the intranet. Now, some users are accustomed to start all there programs via a desktop icon which has been placed on the desktop by support staff by creating a copy of the link in the programs start menu. When the user starts the program using the start menu entry all works fine (start menu link is saved on the local machine). When the user tries to start the application using the desktop icon the error "Shortcut activation over network is not allowed" is displayed and the application cannot start. Is there a (easy) way to allow the user starting the click once application using the ...Show All

  • Software Development for Windows Vista Cardspace and Federation

    Hello, I would like to be able to federate two identities (two cards), is it possible It would allow me to use any of the federated card to access a RP that requires one of the federated cards. Cards are simply artifacts that represent Identity Providers; a mechanism for the user to request and obtain a security token. As such, you cannot federate cards. The RP specifies (in policy) the type of token required (claims, format, issuer). You, the user, select a card that represents an IP capable of meeting those requirements. Cards not capable of meeting the RP requirements will be grayed out. ...Show All

  • Visual Studio Need to 'buy' Report Controls

    Hi I've just started a new job. I used the report controls in my previous job, and my new employers have agreed to buy whatever software I require. Thing is, I'm not sure what I need! I had MSDN in the previous job, so I just installed all the Visual Studio and SQL stuff. I'm planning on using the report controls to design reports based on the existing SQL Server 2000, and some third party access databases. Which version of Visual Studio will get me the report controls Do I need some type of developer edition of SQL 2005 as well I tried asking the local MS vendor, but they weren't sure. Of course, I don't want to buy the wrong thing, and tell my new employers that I wasted their money! Any guidance appreciated Thanks ...Show All

  • Windows Forms Different Color for Diacritics in Arabic Language

    Dear felows I need your help in finding a way to enforce rich edit text box control to show the Diacritics in Arabic language using a different color than the text. I am using Microsoft Visual studio 2005 for implementing this functionality. Can you pls help me or guide me to the suitable API to do so I don't have any recommendations. You may search for a third party control. I found this workaround but it has many issues that it might not be useable. I placed this code in a button to color diacritics. String RTFString; RTFString = richTextBox1.Rtf; // You need to set the color table correctly with the suitable colors, to make it simpler, I assumed that there ...Show All

©2008 Software Development Network