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

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

ashleyT2

Member List

Peter Mackay
Worf
sgmuser
R.S Kimberly
Tom De Cort
Pascal Mignot
sajohnstone
Bastian W.
Paulnz
Microsoft_hates_me
js06
patloeb
ravindra_pn
derrickcui827
Rania171
NipsMG
tiomeg
Neweb
EnterBS
Amit Thakur
Only Title

ashleyT2's Q&A profile

  • Visual FoxPro ceiling to the nearest nickel

    Dear Friends, How to round a number in foxpro like the ceiling function in Excel does, giving the number to be rounded as parameter 1 and the multiple we need as parameter 2 eg ; ceiling(4.20,0.05) = 4.50 Is there a possiblity to do the same in foxpro, because the ceiling in foxpro rounds up to the nearest integer eg: ceiling(4.20) = 5.00 there is noway of specifying the multiple we need as in the case of Excel Any help would be greatly appreciated. Thanks satish there is a function called ceiling in foxpro. syntax : ceiling(<expn>). where expn is the numeric expression. it just returns the next highest value. for eg. ceil(10.1) returns 11 and ceil(10.6) also ...Show All

  • Visual Studio Express Editions Another Problem

    Hi, I was wondering if there is anyway to turn a huge amount of code into a simple function. Right now I have a bunch of check boxes and they are all named C1-C7 and W1-W7, instead of putting in code for each one when clicked, which results in a large amount of code, is there anyway I could make one function to handle all of these. I tried something like this. If C(num).checked=true then W(num).checked=false endif its just a basic example of what i want and i could really use this later on. Thanks Private Sub c1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles c1.CheckedChanged, c2.CheckedChanged, c3.CheckedChanged, c4.CheckedChanged, c5 ...Show All

  • .NET Development Simple problem with retrieving data

    This problem is so simple, I jus can't see the solution. I am wanting to retrieve data from a textBox on an ASP page and would like to set a default value. < asp : TextBox ID ="TextBox1" runat ="server" ></ asp : TextBox > I initialize the TextBox during page load e.g. in Handles Me.Load as follows: TextBox1.Text = "Default" I later try to retrieve the content of the text box: myString = TextBox1.Text The string loaded into the variable is the original string, not what was typed into the TextBox by the user. I just can't see the solution. Any help appreciated. Hi HerbiNZ! Did you check to see if the page.load-event ...Show All

  • Architecture Detecting internal calls in business object without using TLS or overloaded internal method

      Hi Forum I have the following problem. I need to know whether a call to a business object was made from another business object or directly from the UI. I need this because of Security and Logging reasons. Security - Users might not have permission to call the method on a business object. But another business object might need to call it. - But it's the same method :( Logging - I often want to log when a user performs an action. Another business object might also perform that action but then I don't what to log it. But it is the same method. ;( The best solution I have found is to make an internal version of the method with parameters. Like this: public class BusinessObject{ &n ...Show All

  • Visual Studio Team System Security Problem with Accessing Work Items

    I have a security problem with accessing work items. I have created a team project based on a customized project template. Among the rest, there are a "Defect" work item and two team queries, "All Defects" and "Active Defects" . MyProject > "Team Project Settings" > "Group Membership..." context menu item shows "Project Groups on MyProject" dialog with the list of the team project groups, including [MyProject]\All that includes another team project group, [MyProject]\Developers that includes a Windows user MyDomain\John . MyProject > "Team Project Settings" > "Security..." context menu item shows "Project Security" dialog with the list of the team project groups and their permissions, particularly, the above-mentioned ...Show All

  • Visual Studio Express Editions 50% CPU usage when idling

    Hi, My VB program mystyriously consumes about 50% of the CPU power when idling. Is it possible to find out what the CPU is doing and where it spends the time How do you do that Any advice is appreciated. Regards, Daniel Hmm, I found what tied up the CPU. I'm receiving data through the RS232 in my code. How is it possible that receiving data at 115k baud is using 50% of a 2GHz CPU It's all event driven, no polling. And I don't do any calculations with the data, just store it in an array. Do I need to use threads for this Shouldn't matter right, it's event driven already. Dan ...Show All

  • SQL Server DB connection from file vs local SQLServer instance

    I want to add a data source to a C# project that comes from a local SQLServer instance. But when I attempt to do a new connection, it only allows me to specify a file . That is, the only choices I have to select a data source type are "Access DB file" and "SQL Server DB file". I know that with the non-express VS edition there are more choices available. But reviewing limitations of express editions on the web, I find a frequent mention that one cannot access remote data, only a locally installed data source. But is not a SQL Server instance on my local machine a local data source This is an issue because if I proceed with connecting as a file, then VC#Express complains the file is in use. If I first go into SqlServe ...Show All

  • Visual Studio Team System Weird Compare Issue

    When I click the "Check-In" button on a TFS SCC project in the source control explorer I get a list if .vspscc and .vssscc file conflicts that occur. When I click on resolve and then click the compare button I get a pop-up window that has the notification icon, 2 buttons but no text at all. Not even on the buttons. What is going on here I installed TFS about 4 days ago. Cheers, Mark Ok well it doesnt matter, I have just seen the same thing in VS2005. So its not just the provider. What information do you need from me to help get this issue resolved Mark ...Show All

  • Visual C# I keep getting a hiding error. I'm confused.

    Warning 2 'WindowsApplication3.generalEnemy.onEnterFrame()' hides inherited member 'WindowsApplication3.SceneObjects.onEnterFrame()'. Use the new keyword if hiding was intended. C:\Documents and Settings\Owner\My Documents\Visual Studio 2005\Projects\WindowsApplication3\WindowsApplication3\generalEnemy.cs 24 21 WindowsApplication3 is a warning I'm getting. Basically I have an abstract superclass SceneObjects, and an abstract subclass Characters, which has an abstract subclass generalEnemy. There is a method called onEnterFrame which is defined as public void in all of those classes. I can't define it as abstract in these classes because some of the subclasses are abstract, and therefore I DON'T want them to implement it. I ...Show All

  • Windows Forms How to get the Position of an element using DOM

    Hi, I am using a webbrowser control to navigate to any web page on internet. When the navigation is complete(DocumentComplete is fired) i want to calculate the top, left, width and height attribute of all image("<Img>") elements and store those values. I am trying to use the getBoundingRect and getClientRect DOM/mshtml APIs but these APIs are not giving the correct locations for any frame based sites. For web pages without any frames, these are working fine. Surprisingly, these API's work fine if we try to get the location/size attributes of anchors (even for the frame based sites). It will be great if someone can give me pointers regarding what API to use in the above case. Thanks, Yash ...Show All

  • Visual Studio Express Editions Multiline Labels?

    Hello All, I've been trying to make multiline labels. That's not possible through code That dissapoints me. Keehun Unlike a TextBox, to make a Label display a multiline string you do not have to change anything... all you need to do is make sure that you’ve got new line characters in you string which could be as simple as: 'The more VB style way Label1.Text = "Hello" + vbCrLf + "How are you " or 'The works in almost any (.NET) language way Label1.Text = "Hello" + Environment.NewLine + "How are you " ...Show All

  • .NET Development OleDbDataAdapter.UpdateCommand without CommandBuilder

    Hello, I just tried to create a UpdateCommand for a table that has no primary key by myself. This is not as easy as it sounds, because I only know the name of one column that is used to identify the rows that have to be updated. All other columns (the columns that might have been changed) can be very different in name and number from case to case. Here my unfinished code: dataAdapter.UpdateCommand = new OleDbCommand( "UPDATE tMyTable SET ", connection); foreach (DataColumn column in m_tMyTable.Columns) { // dont update Nr-column because its used to identify the rows if( column.ColumnName == "Nr" ) continue; dataAdapter.UpdateCommand.CommandText += column.ColumnName + "= "; dataAdapter.Upd ...Show All

  • Software Development for Windows Vista ADO Interop under Windows Vista

    I am trying to load a project under VS2005 under Windows Vista that references an ADOX wrapper that is looking for version 2.8.0.0. The reference fails because the library is not registered. I thought maybe installing MDAC 2.8 would solve my problems, but when I run the installer for that, it briefly puts up a dialog that it is extracting files, then it disappears. Any ideas --Bruce ...Show All

  • Visual Basic A few n00b questions

    I have a few questions to ask, so i'll ask them all here. :P I'm building a program that will get a string like (010305060405 e.t.c.). They are co-ordinates in the form of XXYYXXYY e.t.c. how can i split them to 4 characters and then their respective XX and YY co-ordinates to be added to an array I've researched string.split and couldn't find anything that helped me. Also, what would be the best way of showing images for these values in a grid I want to show them as images in a grid that could be up to 99 x 99 cells (maximum, bare basic is something like 50 x 50 or 60 x 40 or 70 x 30 [default sizes]). And how would i go about doing that And would it be possible to see if a usr has clicked on a cell and to then perform an event, like ...Show All

  • Visual Studio Feedback on Prototype Style in Sandcastle

    I am looking for customer feedback on the "Prototype" style in Sandcastle. It will be great if you provide me with input on redisign of member pages with tabs and our use of language filers in this style. Also should we adopt this "Prototype" style for our official documentation shipped in future versions of Visual studio Waht do you think I will blog about the details on "Prototype" style seperately. Cheers. Anand.. Hi Anand, I think the current presentation.css stylesheet needs some changes. I didn't like the font size (too big), it uses bold in too many places, didn't underline hyperlinks when the mouse hovers over them, and the spacing on many of the elements just didn't look right t ...Show All

©2008 Software Development Network