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

Software Development Network >> Bertrand Caillet's Q&A profile

Bertrand Caillet

Member List

Andrei Johann
Hugo Soares
Eric Hausig
robinjam
winterminute
eric_o
Xancholy
Abdul Basith
Kasic Slobodan
Fahd
ZopoStyle
JorgeFF
centexbi
David N.4117
Muder
PaoloZ
Marauderz
AndyMac
jkgtldn
Sarwanan
Only Title

Bertrand Caillet's Q&A profile

  • SQL Server FTP Download Task (with Overwrite) doesn't overwrite!!!!!!!!!!

    Error with SSIS FTP download task: How to recreate the error: Download a file using the task. Go to the file in Windows Exploder and Open the file in notepad. Copy the last line of text and paste in a few extra rows at the bottom. So if you had 100 rows, you'll now have 103 rows. Save the file. Go back to the task and make sure you have "overwrite destination" set to True. Execute the task. Go back to the file and look at the bottom of the file. You'll see the same 3 extra rows you pasted in there. That is not how it should work if it was supposed to be released like that. Are there any patches that fix this error Ryan I just confirmed Ryan's observations. VS 2005 - 8.0.50727.42 SSIS - 9. ...Show All

  • Visual Basic Keeping an application on top in VB 2005 using a menu item

    I have yet to figure this out in VB 2005. How do you keep an application on top TIA Kevin Open you applications, main form Open the Properties Window (F4) set the topmost property to true. This should keep this window on top. ...Show All

  • Windows Forms Messagebox

    hi Is there anyway so my "messagebox.show" buttons will be in different language meaning instead of "Yes/No" It worked for the form,label buttons... I need it for message box how can I do that Thanks ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Matrix.CreateBillboard

    I am trying to create a Sun textured quad billboard to rotate around my skydome. I came across the Matrix.CreateBillboard method, but I'm not sure how I am supposed to be using it. Here is my call: Matrix billboard = new Matrix (); billboard = Matrix .CreateBillboard(entity.Position, camera.Position, camera.Up, camera.Forward); Am I supposed to be using the resulting matrix as the quad's World when I pass it into my shader I tried that and multiplying it by the quad's world passing it into the shader, but in both instances I get nothing to show up. Any help appreciated! The position of the (ugly) textured quad is at {0.0, 0.0, -50.0}. At first, I see nothing at all... <a href=" http://images ...Show All

  • SQL Server SQL For-loop stored procedures

    i want to grant exec permissions on all of my user stored procedures. but this process of writing 'grant exec sp_tblAction on public' for each procedure would take years. how can i write a query that loops through all stored procedures, checks if it is a user created procedured, and then grant exec permission for that procedure can it be done tx, Wilmar >> plus it would cover new objects created in the future.<< This is my favorite part of it. I have started to create most objects in different schemas so I can do this effectively. Now if someone adds a new procedure (or table, etc) to the database, users automatically have access. This is most excellent for development for sure! I ...Show All

  • Visual C# NullReferenceException

    System.NullReferenceException: Object reference not set to an instance of an object. at article.article.addarticle() ASPX file: void add(Object Sender, EventArgs E) {  if (butimage.PostedFile != null)  {   strTemp = DateTime.Now.ToString();   strTemp = strTemp.Replace(":","");   strTemp = strTemp.Replace(" ","");   strTemp = strTemp.Replace("-","");   strImage = "D:/c/upload/" + Session["name"].ToString() + strTemp + ".jpg";   butimage.PostedFile.SaveAs(strImage);  }   article art = new article();  string temp_subject;  temp_subject = Server.HtmlEncode(subject.Text);  temp_subject = temp_subject.Replace("'","`");  art.subject = ...Show All

  • SQL Server More grouping questions - sum of maximum

    I have a table with two groups, unit and domicile. Structure appears as follows: GH1 - Domicile Group: Bentwood GH2- Unit Group: 200 Detail: LegID Unit ID Miles TripMiles 1 200 25 150 2 200 75 150 3 200 50 150 Subtotal for GH2 Count(Fields!legID.value) Sum(Fields!Miles.value) First(Fields!TripMiles.value) 3 150 150 This works, what breaks is the subtotal for GH1. on the TripMiles Field. It doesnt like Sum(First(Fields!Tripmiles.value,"Unit_Group")), nor can I do Sum(ReportItems!Trip_group.value) I get the error that an aggregate cannot occur on a report item unless it is in the page header or footer. O ...Show All

  • Windows Forms Maximized form is visible on the screen before call to OnShow()

    Steps to reproduce: Create new Windows Application project Add control to the main form (e.g. ListView) Set form's WindowState to Maximized Override OnLoad() and OnShow() methods Set breakpoints on the calls to the base and run under debugger Note that the form is present on the screen when OnLoad() is hit (before call to OnShow()) Note that form's content (the ListView) isn't visible yet Repeat same steps for WindowState set to Normal and compare Proper way to answer a question in depth should start with understanding it first. Quite painless appearance of the list view wasn't my primary concern. Its absense is an unfortunate side-effect of using visual designer. Not as &quo ...Show All

  • Visual Studio 2008 (Pre-release) How to return a List<T> using WCF

    I have an application that reads lots of small blocks of records from a data store primarily to supply the application's numerous lists (drop-down etc.) I have been returning DataSets using web services in .NET 2. Now I would like to implement the same functionallity in WCF. I have already got methods that return DataSets in WCF that duplicate the functionallity. However it occurs to me that I could make a list of the rows represented as class objects and return a list instead. The idea being that the server is doing some of the work for me and that I could more easily port a web version of the service if the result is in List<T> form from the service. At this point I take a DataSet and create the List<T> at the client which ...Show All

  • Visual Studio Express Editions is not a valid Win32 application

    I'm building a .NET application using VC++8.0 express edition. The program runs fine in Debug mode and in Release too. When moving to other PCs the .exe files (no DLLs or static libs or whatever) I get the followin message ..is not a valid Win32 application. This does not occurs on pcs with VC++8.0 installed. I installed the redistr. .NET2.0 packages on all the PCs. The pc that builds the application has VS6.0, VC++ .NET 2003 and VC++8.0 Express installed. You also need to install the C and C++ runtime - see this thread and many others in these forums. ...Show All

  • SQL Server Passing array to stored procedure

    Can some one tell me the way to pass Table or Array or list of values to stored procedure [Note: I already know some ways which are not useful in my case: - By passing a list of values separting each with a delimeter like comma(,) - Using XML ] Any other way Please, its urgent Thanks in advance A simple row can be passed using a comma delimited string and splitting this on the server to the appriopate values. For more than one row you would have to use a more sophisticated funtionality. The lat option would be to use something like a materialized table, as the previous poster already mentioned. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Software Development for Windows Vista How to use FilterServiceProvider?

    Hi, In one of your lab session in WinHEC'06, I remember seeing that filter pipeline configuration file using FilterServiceProvider keyword. I farely remember some more details that configuration module registers XPS document events and upon receiving PRINTTICKET_PRE events, it modifies the print ticket in the configuratin module. <FilterServiceProvider dll = "unidrvui.dll" /> In this case, what is the service that is provided by unidrvui.dll Still FilterServiceProvider key word is valid and Could you please, emphasize on what is the use of this example Thanks Charles ...Show All

  • Visual Basic Graphics Not Displayed on my form

    I am a struggling newbie to VB 2005 and am having difficulty drawing any graphics on a form. I don't get any error messages, but at the same time, I don't get any graphics drawn on the form. I created a toolbar button that should draw an ellipse on my form when I click on it, Here is the code for that button. Does anyone have any clues as to what I am doing wrong...this code is straight from the book yet fails to work Private Sub ToolStripButton2_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ToolStripButton2.Click Dim myPen As New System.Drawing.Pen(System.Drawing.Color.Aqua) Dim formGraphics As System.Drawing.Graphics formGraphics = Me .CreateGraphics() formGraphic ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Smooth movement

    I did a "game" where a ball bounce around the screen. It's running at 60 fps but it isn't a smooth movement. It's an issue from XNA Framework Beta I am working with SpriteBatch class... In your Update method, you should use the elapsed variable with every moving game component you have: float playerX = 0f; float playerY = 0f; float playerXSpeed = 100f; float playerYSpeed = 30f; protected override void Update() { // The time since Update was called last float elapsed = (float)ElapsedTime.TotalSeconds; // TODO: Add your game logic here playerX += playerXSpeed * elapsed; playerY += playerYSpeed * elapsed; // Let the GameComponents update UpdateComponents(); } As you c ...Show All

  • Visual C++ Compile assembly language program in Visual Studio 2005

    I am curious how to compile an assembly language program from the IDE. The program is in full segment definition and I can compile and link it using ml and link on the command line, although, I would like to be able to do the same thing from the IDE. The only examples I can find are for compiling inline assembly for previous versions of Visual Studio. That said, I have just upgraded from visual studio 6 so the interface is a bit new also. Some steps to do this: 1) create a Win 32 Console Application project (for example). In the project wizard go to the Application Settings page and check Empty Project option so you don't get any C/C++ files. 2) Add the assembly files to the project. Altough ther ...Show All

©2008 Software Development Network