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

Software Development Network >> Hanna Sofia's Q&A profile

Hanna Sofia

Member List

Goran Glisic
Cougar J
mlh407
samur
StubbornNoob
husman
Slamhart
eza
DavidLee
pattinyl
Eddy Fuchs
CDO
KeithM
Diego Canepa
Silk Brick
MUGHRA
garyyang - MSFT
sangee
郭??
Raymond Rogers
Only Title

Hanna Sofia's Q&A profile

  • Visual Basic Need help with answers

    I am making a program that is like a mathmatics quiz with simple questions, I was able to make the program so that you press on a command button and it asks u a question, i then have four check boxes, and i dont know the code to let the computer know which answer is the right answer and tell it to say correct or incorrect in the picture box.  Lets just say checkbox1 is right.. i wrote Command1 __ click picture2.print "2x2" picture1.cls If checkbox1.value then picture1.print "correct" else if checkbox2.value then picture1.print "incorrect" end if end sub it keeps telling me something is wrong or it just writes correct in the picture ...Show All

  • Visual C++ Where is C99 round function?

    First, I post this question to Visual C++ Language but it seems it's OT there, so I repost it here as it relates to VC++ 8.0 libraries Hi, It may seem to be extremely trivial quesion, but I completely have no idea why I can not find round function in math.h I use VC++ 8.0 so I suppose it brings very up to date C/C++ librareries. round function was added in C99: http://www.dinkumware.com/manuals/reader.aspx b=c/&h=math.html#round http://www.gnu.org/software/libc/manual/html_mono/libc.html#Rounding%20Functions I've greped through CRT sources shipped with VC++ 8.0 and there is no such function. Where can I find it ...Show All

  • Visual C++ Problem loading dll created by VisC 2005

    Hi, I converted a C++ project from VS .NET 7.1 to VS .NET 8. The project uses old fopen methods and similar. Under 7.1 the project compiles and runs, but under 8, I am unable to run. First, when running the application, it complains about missing msvcr80.dll. Then, when I locate it (somewhere) on the computer, I get the error that the application tried to load the dll in an illegal manner. When searching for info on this, I stumble into manifests, and I see that the manifest should contain some lines about the msvcr80.dll, version etc. But my manifest file is empty. It only contains this information: < xml version="1.0 ...Show All

  • SQL Server What are the current best practices for standardizing report layout and appearance?

    I am accustomed to the Actuate enterprise reporting system in which it is very easy to define reusable page formats that standardize things like page layout, margins, logo placement, page header and footer formatting, etc. You just drag and drop a page layout from your component library to inherit from it, and ensure that all your reports have the same consistent format. What if any features and tools are there to accomplish this in 2005 Reporting Services I see the style template feature of the new report wizard, but that only seems to apply to font settings for report elements, and these settings are not inherited, only copied into the ne ...Show All

  • .NET Development Sending Email problem (.NET 2.0)

    Hello folks! I'm trying to send email using the new classes of .NET 2.0, with the following code: MailMessage msg = new MailMessage(); msg.To.Add("bribeiro@certisign.com.br"); msg.From = new MailAddress("bribeiro@certisign.com.br", "Bruno Ribeiro", Encoding.UTF8); msg.Subject = "Teste de envio de emails usando .NET 2.0"; msg.SubjectEncoding = Encoding.UTF8; msg.Body = "Este e o corpo da mensagem."; msg.BodyEncoding = Encoding.UTF8; msg.IsBodyHtml = false; SmtpClient client = new SmtpClient(); client.Credentials = new NetworkCredential("bribeiro@certisign.com.br", "xxx ...Show All

  • SQL Server OLE DB Source & Excel Destination

    Hi, My OLE DB Source and Excel desintation values all will be assigned during the run time but it does work during design time but as on runtime columns are different. That's why it does not work. Here is what I want to accomplish, I have table which contains all my report which needs to dumped to excel at the month end. SQL Task using ADO enumrator read one record(one report), Give that record to For Each contair which Create the Excel file on the fly using one of variable from my table and uses a stored procedure to dump data to excel using Dataflow Task. xlsQuery CREATE TABLE `Sheet1` ( `FiscalYear` Short, `FiscalPeriod` By ...Show All

  • Windows Forms Icon Colors

    Is there anyway to increase the color palette for icons in Visual Studio.Net That fixed my issue. Thanks. I don't know why I didn't think of the new image type before. All I did was open my old icons, copy the content, and past it into the new image type. Thanks again! ...Show All

  • Windows Forms caching FormsAuthenticationTicket

    what are the advantages to caching the ticket (aside from additional queries from the database).   Why not simply decrypt the ticket and use the Expired property to determine if the ticket is valid thanks i believe (don't quote me on this) that the ticket is supposed to really only be used per request or per code block that needs it& ...Show All

  • Windows Forms Converting .text to money

    Hi, does exists a way to convert a value that is in a textbox, to money in order to insert it into a money field in Sql Server...  thanks.... Eng. Reynaldo Thanks anyway, the problem is when the string is going to be converted to double or decimal, because the insert sentence doesn't do it job, instead it says that a varchar&nbs ...Show All

  • Visual C++ favor AMD64 intrinsic functions

    How do I tell my compiler/linker to use the __stosq intrinsic function 32-bit assembly intrinsic functions compile, but 64-bit ones do not. Also, the compiler /favor:AMD64 is considered to be an unknown option. Is there anything I can do to enable this compiler option Are programs that use 64-bit pointers limited by default to 2GBs of memory What will happen when I generate data beyond 2GBs but do not enable the linker /largeaddressaware option Are you using the 64-bit toolset Specifically, when you type cl in the command line, does the first line say Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727 ...Show All

  • Visual C++ vc++ express and dshow - build environment

    Dear everybody, I have recently downloaded and installed Visual Studio Express, Microsoft PSDK, and DXSDK (dec 2005), and I'd like to build an application using DirectShow. I have set up the build environment according to the documentation (bin, lib, and include paths point to the psdk), and I'm linkining with Strmiids.lib and Quartz.lib with <dshow.h> included. My problem is that there always remain some unresolved external symbols, which makes the compilation fail. I'm experiencing problems even the very first Microsoft dshow-example "How To Play a File" (see http://msdn.microsoft.com/library/default.asp url=/library/ ...Show All

  • Visual Studio Property notation decision

    i'm curious about the decision in msbuild to go with the <PropertyName>PropertyValue</PropertyName> notation for properties instead of the n/ant style <property name="foo" value="bar" /> approach.  using property names as element names drastically restricts what types of names are acceptable (eg. periods and spaces are not allowed in element names).  the decision to use script-specifiable to name elements seems highly dubious to me.  presumably this also creates problems for schema validation. It sounds like multiple namespaces is the long-term vision, then. If I understand y ...Show All

  • Visual Basic How to keep data when rebuilding application?

    I have downloaded the Amazon movies collection started kit for VB 2005 and am trying to learn VB this way. Everytime I rebuild the application, it wipes off the data in the MDF files also. Is there any way to keep the data safe during rebuilds short of backing up and restoring the datafiles What about When a change (such as adding a filed to a table) is made in the database can the database structure be changed without loss of data Hi, Please take a look at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=138462&SiteID=1 and see if it solves your problem. Best regards, ...Show All

  • SQL Server Anytime I connect to an Excel file from SSIS05, I start getting endemic system.outofmemoryexception errors and cannot save

    This is my error text... how do I get this nonsense to stop ! =================================== Exception of type 'System.OutOfMemoryException' was thrown. (Microsoft Visual Studio) ------------------------------ Program Location: at System.String.GetStringForStringBuilder(String value, Int32 startIndex, Int32 length, Int32 capacity) at System.Text.StringBuilder.GetNewString(String currentString, Int32 requiredLength) at System.Text.StringBuilder.Append(Char value) at Microsoft.DataWarehouse.VsIntegration.Designer.Serialization.BufferTextWriter.Write(Char ch) at System.IO.TextWriter.Write(Char[] buffer, Int32 index ...Show All

  • Windows Forms DataGrip 2.0 Pager Problem

     Hi all, I created a custom control by using data grid control. In this control i created 2 columns. and at runtime I inserts more columns. but when i see my pager the pager (prev next links) always comes in the 2nd column. not in the last coluns. same thing was working fine by using 1.1, but in 2.0 it is not working. Please Help Regards Rohit Saxena Yet I Still don't know the problem with 2.0 datagrid. but i found a workaround and wanted to share it with you.. in the item_created event of datagrid i checked for the (type (item,altenate item ,header or pager etc...))page type and here i m adding the attributes as colspan to t ...Show All

©2008 Software Development Network