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

Software Development Network >> Adam Weigert's Q&A profile

Adam Weigert

Member List

TheMaj0r
anand sivaraman
meoryou
Tobbe2
zerozerojc
FtLeeJerry
Victory-sk
Flap
nativecpp
George Clingerman
xxxmpsxxx
Eddy-kun
Jimmy Seow
Koray Samsun
Spanglishone
Info_Peter
Judyt
yxrkt
Jose-san
R.Kneyber
Only Title

Adam Weigert's Q&A profile

  • Visual C++ any documentation for coding a compiler

    I have a friend who is doing a school project: coding/implementing a comipler for C or C++ Where can he find some documentation pls Thanks. First of all, go to ansi.com and buy the C++ standard document. That's a nice thing to have, regardless of how advanced the compiler should be. Second, read up on "compiler compilers", such as Yacc ( http://en.wikipedia.org/wiki/Yacc ). When you've done that, it's time to read up on code generation and binary formats. Note that this forum deals with the C++ language, as implemented by VC++ 2005. For general discussion on topics such as this, the C++ newsgroup at http://msdn.microsoft.com/newsgroups is a better fit. ...Show All

  • Visual C++ Is there a macro which converts a 32 bit signed integer to 64 bit unsigned integer ?

    Hello All, Is there a macro which converts a 32 bit signed integer to 64 bit unsigned integer Thanks in Advance, CPPUser7 Sorry for the late response. All your answers are correct, you don't get any warning while converting a 32 bit signed to 64 bit unsigned. My problem was with some other part of the code throwing warnings. Thanks a lot for you responses ...Show All

  • Visual C++ How to get the index to the correct icon?

    VC++ 2006 Unmanaged Code My app has some different icons defined. Lookings at the the Resource Viewer, I see multiple IDI_<name>_ICON entries. When the app is run, it updates the registry and maps file extensions to the program. Each file extension is supposed to be mapped to a different icon. Specifically, it sets "\HKEY_LOCAL_MACHINE\SOFTWARE\Classes\My Extension Name\DefaultIcon" to the path to the executable. The problem is that all of the file extensions get the same Icon, which happens to be the first icon in the executable. If I use the Window's Folder Options : File Types dialog, I can edit the file extension manually and set it's icon to one of the other icons in the executable. Checking the registry ...Show All

  • SQL Server Specify excel sheet as a configuration property.

    Hi, I'm just starting with SSIS and want to create a reusable package which imports from an excel file which can be specified at runtime. I can expose the filename of the excel file as part of the connectionString property but the sheet is the openrowset property which is a custom property and therefore isn't exposed as part of the external configuration. Does this make sense Is there an easy way to specify the sheet to import at run time Regards, Anthony. Rafael, Thanks! That was what I was looking for, just wasn't looking in the right place. I was looking in the properties pages of the excel source. Although I've realised now you can change it there by changing the "Access Mode" property to & ...Show All

  • Visual Studio Team System TFS Team Project Limits, after SP1 and otherwise

    Having read Bill Essary's excellent article on how TFS scales in terms of numbers of team projects, I'm curious about two variants on what was discussed there and am hoping that someone from Microsoft might be able to provide some additional insight: 1. How does application of SP1 to both TFS and clients affect his recommendations For example, do any of the " performance and scale improvements " address this area 2. Can Team Project permissions affect how much project metadata is cached by TF clients For example, if I remove "[SERVER]\Team Foundation Valid Users" in the security settings for all team projects on a server (say over 80 total), keep them entitled only to the less than 10 or so associated with each pr ...Show All

  • Audio and Video Development Logging or warning or output for debug goals

    For debug goals I need to output some information. Usually in java script I use the function 'alert'. Do I have a possibility to write an information to status bar or to message box or to some other visible place iHD supports a "Diagnostics" object that lets you output trace messages. In theory you can go to a file, a network machine, or a debugger, but I *think* that iHDSim only supports file logging. Something like this will work: Diagnostics.listeners.add( "file" ); Diagnostics.trace.writeLine( "Here is a message" , "Message Category" , intMessagePriority); // eventually make sure all output is written Diagnosticis.trace.flush(); Of cour ...Show All

  • Visual Studio HideDuplicates and Extra White Space!!

    Hello All!! I am trying to create a report with 3 different groupings: A I a data data1 data2 data3 b data data1 data2 II B I have set the "HideDuplicates" property to hide any duplicates in the corresponding group. However, when the repeated data is hidden, it still leaves in the space where the data should have been if it was visible. This pushes all the other rows down and the extra space is taking up a lot of room!! I'm new at reporting services, so I was just wondering if anyone had a good solution to get rid of the extra space when the repeated grouped data hides itself. Hope this makes sense. Thank you!!! ...Show All

  • Visual Studio Express Editions Help in capturing CMD output

    Hello again. I have been working on quite a few programs lately. One thing I’ve been working on is a program to help me with my Game Design, Halo CE. One of the tools that are used is in the creation process is tool.exe. It’s a command-based program but I’m trying to make a GUI for it. I know of the “variable = New ProcessStartInfo” but it just doesn’t seem to work with this. Xdfgsdfga Appreciate This is my code to read the output of the tool.exe program: If Trim(txt_ToolCMD.Text) = "" Then MsgBox("Please Enter A Tool Command.", MsgBoxStyle.Exclamation, "Tool UI Error") : Exit Sub If chk_Append.Checked = False Then txt_ToolOut.Text = "" Dim exe As ProcessStartInfo Dim sLine As String ...Show All

  • Visual Studio Instalation of SP1 for VS2005 products hangs up a computer totaly

    Hi, A year ago I have installed VS2005 for SA. Everything have worked ok so far. Now I tried to apply SP1 to my VS2005. The update took about 4 hours and finally, when it claimed that 21 seconds left to finish, the computer hanged up totally. I tried to repeat the process once again but it ended up exactly the same way. So I decided to install VWD Express, but to my supprise it hanged up again during VWD Express instalation. I tried to install other Express products too but the results were always exactly the same - total computer hang up during instalation process. Other programs install/unistall perfectly. Computer is scanned against viruses. It is behind a firewall. Anyone has *any* idea to "shoot in the dark" - what's going ...Show All

  • Visual Studio Team System Question regarding how Team Foundation stores project data

    I am working on a Team System pilot at my company and the questions had come up about how Team System stores project data as compared to Perforce as the company is currently using it for souce control. Thanks in advance for any insights :) Bob Hanson TFS uses SQL Server 2005 for storage. Perforce has a custom back-end, don't recall the details. Both store versions (and branches) as diffs. ...Show All

  • .NET Development Connection Behind Proxy, Router, Firewall!!!

    As title of post employs, I'm working on P2P Application all works fine if computers have Direct IPs without Firewall, Router or Proxy. I dont know how to connect to a computer which is behind one of these. I'm using TCP! Any Idea Best Regards, OK! :) I think that this method to connect behind NAT networks, is NAT Traversal , in particular one technique named STUN . I will continue investigating ... Regards. ...Show All

  • .NET Development TcpClient.BeginAcceptTcpClient / Socket.BeginAccept / all other variations...

    First, I'm sorry for the cross-post...I didn't see the networking forum, so I posted into the vb.net forum. I've been having a problem with the use of any of the async methods of TcpClient, Socket, etc eating >95% cpu after receiving the first connection. I've been working on this for over a week now and I'm unable to find references to this issue anywhere. I've tried every way I can think of to work around this problem. Even if no data is sent or received on the connection....or if I close the received connection -- some unknown thread uses all the available cpu power after the first connection occurs. I created a small project that reproduces the problem -- I've zipped it up and posted it here: http://www.profitfuel.net/T ...Show All

  • SQL Server Derived Column Transformation Editor Question

    Help... I'm having trouble coming up with a valid expression in my derived column transformation editor that tests the input column for NULL and responds something like this: if[message] isNull then "NA" else [message] where [message] is the input column. Thanks! ...Show All

  • .NET Development Uploading .exe

    Hi all, During the making of a ftp up/downloading program I noticed that the up and downloading of .exe files is not discussed in any sample. Most sample's are about altering deleting or adding text. But what about .exe files, how are they uploaded Could anyone help me with this Thanks in advance, Dexter Hard to tell what you're problem might be, sounds like you're just asking for the wrong file. Here is some sample code, it worked well: FtpWebRequest req = (FtpWebRequest)WebRequest.Create("ftp://ftp.smartftp.com/smartftp/addons/loglevel.zip"); req.UseBinary = true; WebResponse resp = req.GetResponse(); Stream rs = resp.GetResponseStream(); FileStream fs = new FileS ...Show All

  • Smart Device Development Controll the display format of a cell in a DataGrid

    I have a data grid that bounds to a database table. One of the columns in the grid is a DateTime field and I want to control the way it displayed in the DataGrid (not to show seconds) how can I do that. I use compact framework 2.0 and Window Mobile 5.0 Please see this: http://blogs.msdn.com/netcfteam/archive/2006/04/25/583542.aspx ...Show All

©2008 Software Development Network