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

Software Development Network >> Peter Jausovec's Q&A profile

Peter Jausovec

Member List

SkyPilot007
lazarosfan
LalithP
manit
kittu123
Asifkhan75025
BrandtSmith
Ferozanna
JamesBeyak
Len Weaver
James 39b
glt
DBurke
Andy Robb
mfakbulut
RajatTalwar
WaterworthC
Tom Hall
americanDesi
MarcStevenson
Only Title

Peter Jausovec's Q&A profile

  • Visual C++ zipping a project

    I have Windows XP and I'm using Visual C++ 2005 Express beta version and I created a Win32Console application project with 2 driver files and a header file. It compiles and runs perfectly. In windows explorer, I right clicked on the project folder and selected send to compressed (zipped folder). When I open the zipped folder and click on the project, it does open but when I click on any of the files in the solution explorer, I get this error: c:\DocumentsandSettings\Temp\wzf7ee\Driver.cpp\Cannot open file Is there anything special I need to do in order to zip projects in such a way that they can be opened and be executable Thank ...Show All

  • .NET Development Quick SQL question

    I am trying to build manually the UPDATE, INSERT and DELETE strings of my OdbcDataAdapter because the ones generated by the OdbcCommandBuilder are not going to be adequate. I will still be starting from the generated strings and build on them. To understand better what they do, I need to interpret a specific SQL predicate, and I am having trouble with an expression within. The following SQL command is supposed to ensure that a row in a table is deleted only if the data hasn't been changed (in OBDC style, parameters are designated by question marks): DELETE FROM MyTable WHERE ( (ColumnIndex = ) AND ( ( =1 AND TextColumn IS NULL) OR (TextColum ...Show All

  • Windows Forms Viewing a word doc within a Windows Forms Application

    I would like to display a word document within my windows form application. Currently I am using the IE activeX control and passing it the word doc location. There must be a more elegant solution. This is something that will be added in 2.0:  http://www.windowsforms.net/WhidbeyFeatures/default.aspx PageID=2&ItemID=12&Cat=Controls&tabindex=4 ...Show All

  • Visual Studio Express Editions Registered 5 Times Visual Web Developer Express but no Product Key

    Hi Folks, I downloaded Visual Web Developer and have been trying it out, it's great so far. I also downloaded VB Express afterwards . I registered VB and got a Product ID which I copied and pasted like the instructions said. I never got a Product ID for VWD Express. I registerd immediately after installing. I either overlooked the Product ID copy and paste when I first registered or it wasn't available. I have since done the Help > Register Product about 5 times. I get an email but haven't been led to the page with the Product ID. What do I have to do to get the Product ID for Visual Web Developer Express Many thanks for yo ...Show All

  • SQL Server SQL 2005 License Options

    Ok, here goes.... What exactly does a standard SQL 2005 license cover I want to have 3 client stations entering data, one IIS serving up data to an unknown number of persons via a web page. Under the 1 server 5 CAL package would this setup be covered or will I have to go the processor route I might add that the user accessing via the web service would be on an intranet behind a firewall. Thanks in advance! "I want to have 3 client stations entering data," -Then you need a server licence and 3 CALs one IIS serving up data to an unknown number of persons via a web page. -If they are accessing th ...Show All

  • Windows Forms RadioButton: the Click event was raised unproperly

    Control :RadioButton Description: the RadioButton's Click event was raised even the Checked property is changed Programmatically in form's constructor/OnLoad event handler. I have found some document that says, the Click event won't be fired when programmatically changing the Checked property of a radio button. But actually, if you put a 'radiobutton1.Check = true;' in the constructor of the form, or even in the Form.OnLoad event handler, the Click event will be fired. So is there any way to identify if it is the user that is choosing this item, not a programmatical changing of the Checked property (You know i dont like ...Show All

  • Windows Forms Databinding combo box

    I am working on an MDI application. I have a list box and combo box in one child form. The irony is that the selectindex does not work even when I set the selectindex property to -1. The same application works fine when it's not a child form. Have any one of you came across this situation before Any thoughts Thanks- Sathish Wel ...Show All

  • Microsoft ISV Community Center Forums VBA in Office 12

    Could anyone show some information about VBA in Office 12 Does Microsoft support VBA in Office 12 Are there have any new features or improvements Thank you in advance!   Per earlier in this thread: "I just wanted to clarify some information on my original post. This info is direct from the product team. We are absolutely supporting VBA in O12. " We realize that our customers have an enormous investment in VBA solutions. VBA will continue to be supported in Office “12” and beyond, and is a critical part of our Developer offerings." VSTO, while offering some very cool solution capabiliti ...Show All

  • Visual Studio Can I Generate Code with CodeDom in the target language project?

    hello. when i publish my target language developed with DSL , i see i can generate code with templates for model, but i will generate code in codedom how can i do with DSL. thanks  Hi Matt, Yes, you can do this kind of code generation, but you have to write quite a lot more code yourself as template-based code generation isn't a good fit with cross-language-based generation. What you need to do is to add a custom command to your designer (See the December DSL Tools Samples update for instructions on how to do this) Then in the handler for that command, write code to traverse your model, building up a Co ...Show All

  • Visual Studio How to re-use RPT designs and formulas in CR for .Net 2003

    I am creating a series of different tabular reports in CR because I need a way to have the output be in PDF format. Things are proceeding too slowly and awkwardly for me - I fear I am missing some important trick regarding reusability:  How do you re-use report design layouts and formulas with this version of CR Much of the Page Header and Footer sections are the same on all reports I need to create; even the detail section(s) need to be same in terms of font, color, etc. In my first report, I struggled with the learning curve of formulas, runtime customization, and the designer itself. In my 2nd report, I clumsily tried to clone ...Show All

  • Visual Basic Round function

    I'm hoping that someone is able to clarify for me just what the Round function in VB does. According to the help file, Math.Round( value , digits ) returns a number which is value , rounded to the number of significant digits requested. I must be misunderstanding just what this means, because the results I get are unexpected. For instance, for Round(12.3456,3) I would expect to get 12.3 (i.e. 12.345 rounded to 3 digits). Or, for Round (1.23456E-15,3) I expected 1.23E-15 but I get 0.0. Rather than digits being the number of significant digits in the result (as stated in the help files) it seems to be the power of the rightmost digit in the r ...Show All

  • Visual C++ conversion of String to LPWSTR

    i want to convert String to LPWSTR. how can i do that, i tried: LPWSTR test = (wchar_t*)ext.toStdWString().c_str(); where 'ext' is string. but it returns garbage value in 'test' please help What is toStdWString Is ext realy a std::string You can usethe ATL conversion fucntions: USES_CONVERSION; LPWSTR test = A2W(ext.c_str()); or if you just need the pointer fur a short time you can use CA2W! ...Show All

  • Windows Forms Decisions and Conditions -summary button

    Hello, I am brand new to VB 6.0 - I hope that my question is clear. It's from the Programming in Visual Basic 6.0 book from Julia Case Bradley and Anita C. Millspaugh. It's exercise 4.6 and it's a homework assigment, but we will be given a similar test on this and would love to know where my coding is going wrong. I have a button, w ...Show All

  • Visual Studio Threaded load of ReportViewer? (GUI Thread Issues?) Progressbar Marquis effect?

    Hello, I am trying to load a very simple report in my Windows Forms application. There are only five our so fields that get populated. Currently, I am doing this via ReportParameters defined at design time, and setting their values programatically at run time. The actual report is displaying just fine. What is NOT working well is the actual load time / performance of the report. It takes about three seconds in RELEASE MODE, outside of the IDE, before the report is shown. This is on my P4 3.4GHz system. I could easily see this taking five seconds or more on a less capable machine. Now, three to five seconds is not that long to wait, as long ...Show All

  • Visual C++ How to get a dynamicly created control's dc

    I need to create a control dynamicly and then get its DC to draw text and so on,just do as the following code: BOOL bCreate = m_hEdit.Create(WS_CHILD | WS_TABSTOP | WS_VISIBLE |ES_LEFT , rectEdit,this, IDC_COMBOTREE_EDIT); if (bCreate) { CWnd* pParent = GetParent (); CFont* pFont = pParent->GetFont (); m_hEdit.SetFont (pFont); } CDC *dc=m_hEdit.GetDC(); dc->DrawTextW(_T("ok"),-1,CRect(0,0,30,20),DT_LEFT); dc->SetBkColor(RGB(0,0,0)); m_hEdit.ReleaseDC(dc); but it doesn't work,I can never see the "ok" in the edit. Any help is appricited. Thanks! para This will not work, because each window gets mess ...Show All

©2008 Software Development Network