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

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

lms07424

Member List

LBSanthosh
Jason Cheung
Raoul_BennetH
syperk
minkee.s
MikeEllerton
Thomas Greenleaf
Bulldog.NET
aguess
AE from SFO
Juice Johnson
Darizotas
Steve Hempen
djshades2004
TonyTCSN
Reta
cdun2
starnamer
Aliaa
pjhunter
Only Title

lms07424's Q&A profile

  • Visual Studio Express Editions Show what is going on faster

    When I have a program doing something that takes a few minutes, I like to show them the status, so they know that it is not locked up. The progress bar is a pretty good solution, if you know how many 'things' there are. The label and text or even button text works, but slows the program down quite a bit when it is refreshed. A very unique solution I have found is to create a new window form. Remove all the buttons from it, lock it into the top view (always on top), and resize it so it JUST shows the title bar. Make it invisible. Now, when you need it, call it as shown: dim fr as new formname fr.show fr.text = "Loading record " & record & " of " & totalRecords fr.refresh Update it when y ...Show All

  • Windows Forms VB2005: ?'s about Tab control and Namespaces

    I am using Visual Basic 2005. I’ve put a tab control on my main form, and I used the windows form designer to add controls to each tabpage. I would like to do some sort of ‘data hiding’ where the stuff in one tabpage can’t see the stuff in a different tab page. Basically things are just starting to get unwieldy with around 200 controls in the tab control altogether, and global variables that I would like to contain with in each tab page. I thought this where you would use a Namespace, but I’m not sure if it’s correct to put this into the code created by the windows forms designer. I figure there’s probably a couple of ways to handle this, I thought someone might have an idea about what was the best way, there’s proba ...Show All

  • Visual Studio Team System How do I buy another TFS license?

    We have a MSDN subscription through which we have (among many other things) Visual Studio Team Foundation. We were early adopters and the beta versions did not limit the number of connections (about 7 people use the system). With the new version, we are limited to five. So I need to buy more seats. I talked to several MS representatives and learned that because of the type of license I had, I couldn't just use CAL and buy two seats, I would need to buy TFS Standard which would give me a total of ten seats. After I had bought Standard, I could buy extra seats using CAL. The project was called off for a while because of the cost, but the upgrade is scheduled for this weekend. When I went to the MS site on Weds to buy TFS, I found I could ...Show All

  • SQL Server Package Hangs With Transations On

    When I set the transaction option to required my package just hangs when I try to execute it. The status bar says "Validating" and then the name of the first destination data flow component (whatever that happens to be). I've let it sit for long periods and nothing happens. Any suggestions It's quite possible that the destination is trying to join the transaction (if enabled by you) and things start going wrong in there... Can you tell us a little more about the components inside your package Which ones are joining the transaction and what are their transaction properties set to ...Show All

  • Visual Studio Breakpoint will not currently be hit. No symbols loaded for this document.

    I have been 'developing' with Visual Studio 2005 for about 3 weeks now - primarily .NET class libraries developed with VB. I am coming from VB6, although I did a lot of development with Visual C++ several years ago, so I am still trying to come to terms with the debugger. I have read many threads posted by people who are having a problem with breakpoints, specifically with the message in the subject line above. There have been many suggestions on how to fix this problem. Sometimes these suggestions work, sometimes they do not. Most of the suggestions involve deleting DLL and PDB files and rebuilding, or restarting Visual Studio. None of them suggest any problem with something the developer has done or any problem with the configuration of ...Show All

  • Visual Basic Graphics in VB.NET- How do i draw to a form without using onpaint method?

    Hey you! I want to draw something on to a form but i don't want to use onpaint() method. I don't know how do i do Please help me if you can! Thanks very much! dvl_vn Hi Richard I'm developing an application that draws a map using polygons (ESRI shape maps) like those you can see in google map (states, rivers, streets, etc), and the application has zoom, pan, etc. But some maps has thousand of polygons and drawing all of them every time the paint event fires even to redraw a small region is very slow. I don't know how to improve performance or what technic to use. Can you help me, or put me in the right way. Thanks. ...Show All

  • Visual Studio Express Editions Problem to save a table

    Hi, I've a problem when creating a table, it creates the table and it includes the registers, but when I leave the application the table isn't saved in the database. I've already modified the property of the database to Copy if Newer. Dim nome As String = "TESTE"         Dim cmd As Integer         Dim query As String         Dim sqlComando As SqlCommand         connBD = New SqlConnection(strcon)         query = "CREATE TABLE " + nome + " (CodTeste Integer, Nome nvarchar(50))"         sqlComando = New SqlCommand(query, connBD)  & ...Show All

  • Visual Studio Print dialog box

    Hi all, I have a VB 2005 app that utilizes a Crystal Reports viewer (CRViewer). I have this code: CRViewer.PrintReport A print dialog box appears when the code is run. I want to do one of two things: 1. eliminate the box all together. 2. run code following the PrintReport command if user chooses to cancel printing. How do I accomplish these Viewing related posts and searching MS Knowledge base has not helped. I am new to VB 2005 and CR. TIA. Hi Steve, There's a tutorial in the documentation called Printing and Setting Print Options that goes over how to print a report without prompting the user. I think it might help out. - Dave ...Show All

  • Visual Studio 2008 (Pre-release) How to use LINQ in traditional n layer code pattern

    I am pretty impressed with the LINQ technology. And now that I am going to start a new ASP .Net Project I was wondering how to use linq to implement a traditional DAL & BLL layers. Will the linq data context and conceptual model go as a part of DAL or BLL or is it just common rather Many thanks Anubhav LINQ to SQL is the Data Access Layer in my opinion, so the LINQ data context should be part of the business layer. In effect you can dump the DAL entirely, other than for things that aren't possible with LINQ to SQL. There are three problems with putting LINQ to SQL in your DAL: 1. Ratio of plumbing code to real code starts to get a bit high. 2. Incorporating business logic within your projections breaks the abstraction. 3. Object ...Show All

  • Visual C++ Pointers... when to use them?

    In general, when do you use pointers It is my first time working on a more-complexed-than-hello-world application and I get many errors regarding "stack around variable x is corrupted" if I did not use pointers. eg: SomeDllClass sdcObj; sdcObj.doFunc(); ... // End of Function This gives me the stack corruption error. SomeDllClass* sdcObj = new SomeDllClass(); sdcObj->doFunc(); ... // End of Function This is OK. Also, I learned in my C++ Appreciation Class that pointers declared in a class should be deleted in the destructor. When I did that however, I was given a "Memory Access Violation" error (I initialized the pointer in a function other than the constructor). Is it advisable to use pointers for every variable I ...Show All

  • .NET Development XPATH : How do I implement a better code ??

    Hi Folks, Here is the Environment context for the problem: Development done in VS 2003 using .NET Framework 1.1 Problem: We are trying to implement a product whose C# business logic uses XPATH for data manipulation( Please don't ask me why but consider this as a constraint) The problem is that with a bunch of developers and no coding statndards , we have created a very messy code with string variables and XML node being created as and when required. In order to avoid this in future , I want to create a helper class where I can have all the XPATHS for the XML document declared as static final strings. So then I can use XmlNodeList vehicleNodeList = this .ISOSSINode.SelectNodes(Static final string) instead of XmlN ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Destructible terrain 2D

    Greetings, For lerning XNA i figured why not make a Space Invaders clone in 2D. But something escaped me, being the novice i am. How do i make the shields destroyable, as far i can se it makes no sense to make each shield one sprite. So my question is how do i build these do i build them from 1000 spirtes the size of one pixel. or do i make one sprite and overlay the destruction in some way. I dont know how to do this, anyone care to share ideas br Lasse Knudsen Jim Perry wrote: If you want to stay try to the original I don't think you'll need 4000 pixels for each shield. As Shril said, you could do it without much of a performance loss. Maybe a sprite ...Show All

  • Smart Device Development how to turn off the ppc

    how to turn off the ppc with c# .net cf 2.0 Thank you . Please find the descriptions in the MSDN docs: Internal: http://msdn.microsoft.com/library/default.asp url=/library/en-us/csref/html/vclrfInternalPG.asp extern: http://msdn2.microsoft.com/en-us/library/e59b22c5.aspx The DllImport attribute tells the CLR which native dll to load. More Infos can be found here: http://msdn2.microsoft.com/en-us/library/26thfadc.aspx ...Show All

  • Windows Forms How can make one cells value changed with other cell value same time in DataGridView ?

    In DataGridView control , there are more than 3 cell in a row, like int i = invoiceDetailsDataGridView.CurrentCell.RowIndex; DataGridViewRow row = invoiceDetailsDataGridView.Rows ; row.Cells .Value = Convert.ToInt32(row.Cells[3].Value) * Convert.ToDecimal(row.Cells[4].Value) - Convert.ToDecimal(row.Cells[5].Value); how can i make the Cell .value changed with the Cell[3].value changing same time i can make Cell .value changed by leave the current cell (Cell[3]) and click other cell of the DataGridView. I want all the values changed at same time with out exit the current editing. I searched many times in this forum, but didn't find any advice worked. I tried a lot events of DataGridView to make ...Show All

  • SQL Server Cube deployment issue SSAS 2005

    Hello all, I got an issue with deploying my cube. I am new to SSAS 2005, and I cannot find the option to define which account to use with deploying. I managed to choose the server for deployment, but strangely enough, no user can be selected, so when it deploys, it throws an error stating the standard windows login isn't valid (wich is correct, but I do not want to use standard windows login). Great. Now I try to add securables to that account, run it as a script. Server Management says script has executed succesfully, but when I click again on the account, nothing has changed. If I try to deploy the cube, nothing is being written in the logfile of SQL Server. ...Show All

©2008 Software Development Network