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

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

Mazzie

Member List

Araki66
imdz
dougua
JasonFx
cds_ks
project2n5e0o1
matthew2005
DavidAWinter
llkoolj
Duckboy
walsher
zion99
CodePfo
chris29
ToddOs
SuperSaiyanZero
Dirk Van der Straeten
Csaba Vegso
QbProg
Christian_B
Only Title

Mazzie's Q&A profile

  • Software Development for Windows Vista Enabling Theme Support via Manifest

    My application (using the WIN32 API) enables XP Visual Styles under XP with a manifest. But when the app is run under Vista, Visual Styles / Theme Support does not get enabled. (Buttons have square corners, no highlighting, etc.) What can I change in the manifest (or in the C code) to enable Vista Themes Manifest: < xml version="1.0" encoding="UTF-8" standalone="yes" > <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <assemblyIdentity version="1.0.0.0" processorArchitecture="X86" name="SabioNet.AshWin.ashw32" type="win32" /> <description>AshWin</description> <dependency> <depen ...Show All

  • Windows Forms Can't get progress bar to work

    Hello, I'm somewhat new to .NET and very new to Winforms and am trying to use a progress bar in my app to gauge the progress of a SQL 2005 merge replication process. I have a class that keeps the Syncronization code. The syncronization agent has an event handler that in turn calls a method to grab the status and percent completed of the current merge process: subscription.SynchronizationAgent.Status += new AgentCore.StatusEventHandler(SynchronizationAgent_Status); subscription.SynchronizationAgent.Synchronize(); Here is the method it calls: static void SynchronizationAgent_Status(object sender, StatusEventArgs e) { m_percentComplete = e.PercentCompleted; m_statusMessage = e.Message; } ...Show All

  • Visual C# Pulling info off of a DB

    I'm trying to pull info off of a SQL database on my network. Before I go any further, i should mention that I know very little about programming in any language, much less VC#. This is what I've got so far: protected void Button1_Click( object sender, EventArgs e) { this .TextBoxConnect.Text = SqlDataSource1(TextBoxConnect.Text); } I've got my DB on the Server Explorer, and it says it's connected. The error I get is: Error 1 '_Default.SqlDataSource1' is a 'field' but is used like a 'method' C:\ASPWebStie1\Default.aspx.cs 41 36 C:\ASPWebStie1\ So yeah, any help would be mucho appreciated Thanks, Cody I assume that you dragged and dropped a SqlDataSource on ...Show All

  • .NET Development COM data size: 32 bit and 64 bit

    Hi, I have a COM application that deals with data. Application can run on both 32-bit and 64bit platform but I am just worried how big a data it can handle. Does COM has limit on amount of data it can handle. Further if we are dealing with 32bit controls, can they handle the 64bit data (data > 2gb). COM does not have a limit. As to 32bit controls handling 64bit data, it depends on what your code does and how your datastructures consume the data. There's not much information here to help with unfortunately. ...Show All

  • Visual Studio Team System Problem: TFS Proxy returns: TF15013 (Item.asmx missing?)

      Situation: TF Client can connect at TF Server. But, problem goes when TF Client tries to connect trough TF Proxy. In TF Client output I receive following message (after using Get Latest V.):   The source control proxy 'MyProxyComp' is not responding, so the request will be sent to the main server.   Please verify your settings. Additional information:   TF15013: The requested Team Foundation Server is not registered with the proxy server.   When I start Fiddler to find what GET requests my TF Client does:          MyProxyComp:8081/VersionControlProxy/V1.0/item.asmx .. ..   and request fails returning result 5 ...Show All

  • Visual Studio Express Editions Problem with printing

    I know the use of the controls to printing, page setup or preview page. But I want to do something and I dont know how. I need to print stickers, everyone of them have a rectangle area of 5 cm x 10 cm. Each sheet has 9 sickers, and I have to pint in all of them once a time. How can I control the margins of all the rectangle areas I hope that all of you understand my question. Are you able to print Are you able to print text at a specific location If you know where the labels are on the page, simply print whatever you want to print within the physical region of the label (Use DrawString() with the specific coordinates you want to print text, for example). Which part are you specificall ...Show All

  • .NET Development Very URGENT in my PROJECT: Calling .NET assembly in Vb 6.0

    Hi, I tried to call the .NET component from VB 6.0 application but the error from is Types registered successfully RegAsm : error RA0000 : An error occurred while saving the exported type library : Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) the process i followed is as below: 1. I created a class library with a public method. 2. I created a strong named and installed it to GAC 3. using tlbexp.exe i have exported the .dll to .tlb 4. using regasm.exe , i have registered the public methods. Can anyone helpme. ...Show All

  • SQL Server Questions about the Matrix

    I'm new on Matrix but I created it anyway. I have a few problems I need to ask from you. 1. Is it possible to hide rows in Matrix In table it's possible but I didn't find visibility-property in matrix's row. 2. Can I limit the columns to the page width E.g. 10 columns fit in page but not 11 so if there are more than 10 can I start a new row for the leftovers or sth like that Thanks in advance! This forum is my salvation :) 1. Yes. You can right click on the row header and select "Edit Group" to bring up the group properties dialog, then go to the visibility tab to set visibility properties. 2. In HTML and designer preview, the column will grow beyond the page width. In PDF/Image rend ...Show All

  • SQL Server case table and Nested tables in association algorithm

    hi   i m trying to build microsoft association model using Microsoft association algorithm. i got 1) patient table( patientid , name, city) 2) diseases( diseaseid, dieseasename) It is M:N [many to many] relationship between above tables, so 3)Patient_diseases(patientid,disease_id). [RELATIONSHIP TABLE]   i am trying to associate city in patient table --> disease in diseases table.     I want to build association data mining model and use it on web form, such a way when the user enters city associated disease will be displayed. should i select all 3 table to build the model could help me to decide what tables should i select as Case and what tables as Nested what attributes  ...Show All

  • Commerce Server still having an issue trying to do a PurchaseOrder.Save()

    Hello, A while back I posted this thread, which describes my problem pretty thoroughly, but I'll do it again as I'm kinda running out of ideas on how to fix it. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1068432&SiteID=1 I have a view order page which can show a customer their order. This page uses the viewstate to get the order information (from commerce server) on first page load and store the OrderGroup class (could be purchase order or basket) in viewstate, modifying it over time and allowing the user to commit all changes when the update button is pressed. This works fine in all cases for baskets, but when the order is in the purchase order state, I attempt to change the status of a line item and when the save ...Show All

  • SQL Server Transaction

    i ma new in vb.net and sql server so check this way is true Dim SqlCmd As New SqlCommand OpenConnection() 'this is my function of opening database connection Dim TrnSqlServer As SqlTransaction = SqlConnection.BeginTransaction Try With SqlCmd .Connection = SqlConnection .CommandText = CommandType.Text .Transaction = TrnSqlServer .CommandText = "Insert Into MeterialPurchase " & _ "(Date,Account_ID,No_Of_Items,Gross_Total,Less_Amount,Net_Total)" & _ "Values ('" & TxtDate.Text.ToString & "','" & _ LstAccount.SelectedValue & "','" & 10 & "','" & TxtGTotal.Text.ToString & "','&quo ...Show All

  • Visual Basic How do I write a program for checking pi?

    Hello. I'm one of those crazy people who tries to memorize pi, and my friends are really tired of me asking them to quiz me, while I recite hundreds of digits. So, I'm writing a program in Visual Basic to help me do this, and I was wondering, how would I go about doing this Thanks. I know it's kind of vague, but any help would be appreciated. So, if I wanted to compare what I typed to what pi actually is, I would check for 3, then 31, (I find the decimal point causes more problems, so I leave it out.) then 314 then 3141 then 31415 etc. If that's what you mean, how would I do that I've tried with if statements, but that doesn't work. ...Show All

  • Visual C++ please help! compile error

    hello, I have following error in visual c++/win xp when compile a file. Please help! Thank you very much! d:\Microsoft Visual Studio .NET\Vc7\atlmfc\include\afxv_w32.h(216): error C2664: 'GetWindowThreadProcessId' : cannot convert parameter 2 from 'void *' to 'LPDWORD' http://www.cppdoc.com/example/mfc/classdoc/MFC/AFXV_W32.H.html // Win32 uses macros with parameters for this, which breaks C++ code. #ifdef GetWindowTask #undef GetWindowTask AFX_INLINE HTASK GetWindowTask ( HWND hWnd )     { return ( HTASK ) : : GetWindowThreadProcessId ( hWnd, NULL ) ; } #endif Are you compiling your project as C If I recall correctly, NULL is defined 0 for C++ and ((void*)0) otherwise, and th ...Show All

  • SQL Server How to : Truncation : Can i write a log entry whenever data is truncated?

    I'm reading data from a flat file source. If some data gets truncated, i have the option of 'ignoring', 'redirecting' or 'fail component'. What i'd like to do is, to allow the data to be truncated, but i'd also like to write a log entry so that i can know that a particular rows data has been truncated. I've tried 'redirecting' the row to a script component (as transformation), but i don't know how to determine if the error is truncation or not, not only that, i can't redirect the row back to the 'original' flow, which is a derived field column. Any ideas on how to do Cheers. Enzoe wrote: That was a brilliant idea. Thanks. However, my problem now is the union. The output columns f ...Show All

  • SQL Server Does the index exist after restore? (ie Does RESTORE destroy the indexes?)

    We performed re-indexing at beginning of month We had to restore from last night's backup and are seeing performance issues, so I am wondering if the clustered indexes are lost after the restore operation Do we need to re-index again in short, does BACKUP backups the indexes does RESTORE restore the indexes Hi Jerry, The BACKUP DATASE command will backup all database objects, including indexes, users, diagrams etc. that exist at the time the backup command is executed. So, in short BACKUP does backup indexes and RESTORE does restore indexes Cheers, Rob ...Show All

©2008 Software Development Network