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

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

lucent567

Member List

Srey
tonn
senthilssk
Robert Arthur
Carroll Barrett
mrbelk
hnuecke
Giri12
Matthias R
smith_a
Michal Donat
Anibal Acosta
Brian The Gaffer
Dave Cliffe - MSFT
Roxana
nosheen wasif
10wattmindtrip
RickyLin
jwhansen
sub4
Only Title

lucent567's Q&A profile

  • .NET Development Reflection and Structures

    I'm trying to track down any materials, code, books, etc, that cover the topic of dealing with structures via reflection.  This topic appears to be non-existent; nobody talks about it. Just to be clear, By structure I am referring to something akin to the following VB code: Public Structure MyStructure    Public FirstName as String    Public LastName as String    Public IsActive as Boolean End Structure And I am asking for anyone to comment or point me in the right direction where I can find such structures being exposed by Reflection code.  All I have been able to find is cryptic refere ...Show All

  • Windows Forms Bottommost window

    I know there is an option to make the window the toppmost but not bottommost. Is there a way to keep the window at the bottom throught the API or something I am not sure what more details to give. All I have right now is a plain form designer project, I haven't added anything to it yet and my first step is getting it to stay behind all other windows. Please tell me if there is something else you need to know. ...Show All

  • Visual Studio Error Message

    As part of a fairly large project I am working on, there is a web administartion component that has 3 crystal reports that need to be viewed. When I try to click on these reports I get an error message stating: "The report you requested required further information". It also pops up text boxes with server name, database, username, and password with a login button. I am assuming this means that I am not pointed to the right datasource but that's a guess as I am pretty green when it comes to reports. I know that we have it pointing to the right server/db and username/password. If anybody has has experience with this kind of error I w ...Show All

  • Windows Forms UpdateAsync() hanging

    In using the example code from MSDN for programmatic update, my code gets to the async call, but fires no events. I changed the async code for checking for an update to synchronous code and it works fine. But then the call to UpdateAsync() fires no events and downloads no bits, even though it knows that there is a new version. The synchronous Update() function works fine, though. Naturally, I want async so that I can get the progress notifications and give my user a progress update during the download. Some code... (splashScreen is a windows form that is open, non-modally, during startup. updateCheckComplete is a boolean flag that I use ...Show All

  • Visual Basic Verify my functions

    I made three functions that deal with bits. I want to know if they are good or if they can be improved. Thank You. Private Function extractBit(ByVal value As Byte, ByVal bit As Byte) As Boolean If bit = 7 Then bit = 128 If bit = 6 Then bit = 64 If bit = 5 Then bit = 32 If bit = 4 Then bit = 16 If bit = 3 Then bit = 8 If bit = 2 Then bit = 4 If bit = 1 Then bit = 2 If bit = 0 Then bit = 1 If (value And bit) <> 0 Then Return True Else Return False End If End Function Private Function setBit(ByVal value As Byte, ByVal bit As Byte) As Byte If bit = 7 Then bi ...Show All

  • Visual FoxPro Very nice!

    Hello anyone, it's very nice to see Microsoft enhancing their community activities. Go for it! Providing a forum platform is one of the best aspects a company might offer. Thanks. I hope that this one doesn't compete the ones at Compuserve or UniversalThread. Sincerely, JoKi i got a lots of help from here     thank you very one again Jet ...Show All

  • SQL Server Generation of report takes a long time (performance issue)

    Hi, My company is using MS SQL Server 2000 Developer Edition and Report Services. We have some tables which are have now around 4000000 rows. When we genarating report SELECT     sessionNum, moteID, dbo.MacAddrConv(macAddr) AS macAddr, chID, dbo.TimestampConv(timestamp) AS timestamp, value FROM         NotificationData ORDER BY timestamp it takes 15 minute. Our table is located in the Server whic has these parametres: 1-        Currently there are about 4.0 million entry in the database that uses 1638.44 MB of memory 2-      ...Show All

  • Visual Studio Express Editions Extracting a value from a datagridview

    I am having trouble extracting a value from a datagridview. Could someone please show me how to display the contents of a cell (eg column 2, row2) in a msgbox when I move to a different row. Derek Use .value instead of .tostring  Example Msgbox(Me .DataGridView1.Rows(1).Cells(1).value) ...Show All

  • Visual C++ Help needed: fatal Error: C1190 VC++ .NET

    Hello, I am gettin a fatal error C1190 when I try to compile the code and run it. Could anyone provide a solution for that I guess I need to set the /clr switch. Here is the error: fatal error C1190: managed targeted code requires '#using <mscorlib.dll>' and '/clr' option It points to the syntax on code: #using <mscorlib.dll> <Yeah the third line of my code!!!!> ;-) Would appreciate if anyone cud provide a solution for this! :-) Thanks a much! Karthik Hello: An easy way to avoid this kind of problem is a user at initial stage when opening a project like this way >> In .NET environment, File/New/Projec ...Show All

  • .NET Development hi everyone, please help me

    i use generic like below to define a class: public class RelaProperty<T> { ... } the type T maybe is class X1, class X2 etc.. so we assume the class X1 has a static method such as XXX() i try to call the method XXX like below in the class RelaProperty: T.XXX(); but i fail to compile it.who can tell how to do i can reach my goal I'm assuming that you know that every version of the generic will be based of some set of classes that derive from a base class or implement an interface. If so, the answer is easy - use "as" to cast T to the base class or interface tha ...Show All

  • Windows Forms Clearing a Formatted DataGridView

    When I try to clear controls and DataviewGrid from a panel which has bound data, it takes several seconds to do it, when I have this line GridHandle.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.AllCells If Comment this line then it clears fast.  If comment the above line then it clears faster. Any help would be appreciated. Khalid Mirza mirza@Stellex.com Any changes done to the DataGridView's content -- removing rows for example causes the grid to recompute autosize mode. Depending upon the number of rows this can take more time. It is a good idea when you know that you are going to perform a large update and you are ...Show All

  • Windows Forms Many row's color in DataGrid Window Form

    Can anyone help me . I would like to create DataGrid three top row have Background Color is red and other row have Background Color is blue.I'm no solution for this problem. Thanks. Take a look at http://www.syncfusion.com/FAQ/WinForms/default.asp#44 there are a couple ways shown here how to do what you want. no there is no simple way with this data ...Show All

  • .NET Development ASP.net 2 Xams

    Do any body Know when Visual studio 2005 exams will be available and VS 2003 exams will be expire From http://www.microsoft.com/learning/mcp/newgen/faq/ : Professionals who hold any currently recognized Microsoft certification do not need to renew their credentials. Your current credentials will be recognized as long as they are in demand, and they will continue to be supported by Microsoft. Microsoft continues to recognize the following certifications: Microsoft Certified Desktop Support Technician Microsoft Certified Systems Administrator on Microsoft Windows Server 2003 Microsoft Certified Systems Engineer on Microsoft Windows ...Show All

  • Visual Studio Team System Visual Studio and Design view

    I all community members! I have been using VS2005 B2 for the two month and found it extremely proficient in our development enviroment. I don't know if this thread is in the correct place, but I've been having some difficulty working on a user control designed by another team member, who's also using VS2005 B2. The problem is that the user who created the user control checked in back into VSS2005 and can work on it fine on his side, that was for argument's sake 4 days ago. Yesterday morning I could still help him out on this control with a design fault he was experiencing, checked it in so he can continue then later that same day I, for ...Show All

  • SQL Server Primary key error Uppercase/lowercase

    Hello, I've got a problem with 2 tables, the first one has not constraint and is used as a data source, the second one as primary and foreign key constraints and is the destination. In the first one the columns are : TABLE PROMOTION : PROMOTION_ID; PROMOTION_DESC; 16a;-20% discount; 16A;-30% discount; AbC;no discount; aBc; -90% discount; The second table, TD_PROMOTION, has the same structure, but the column PROMOTION_ID column has a primary key constraint. When i want to insert data from PROMOTION to TD_PROMOTION, i've got a primary_key constraint error, because it seems that the database makes no difference between the codes 16a and 16A and ...Show All

©2008 Software Development Network