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

Software Development Network >> Tobias Larsson Hult's Q&A profile

Tobias Larsson Hult

Member List

laweber3
JJO123
Matthew Robertson
Spaceman_Bob
MariaSh
Zach Salzbank
kannan_poem1984
ali_ba82
kthiagar
PatrickInDenver
AAx
Stephen Hauck
Gena
Brent Pranger
DieZeL
DotNetRules
Juozas
acal675177
Christian W.
carem
Only Title

Tobias Larsson Hult's Q&A profile

  • Software Development for Windows Vista CLSID_WMAsfReader causes access violation

    Does anyone know why playing "Windows Media Video 9 Pro" files generate access violation errors Even the PlayWndASF sample that comes with DirectShow generates this error. ...Show All

  • Windows Forms ListView Export To Excel

    Hi, I have a requirement to export the contents of a ListView (Detail View with Group By) to Excel - either saving it to a file or opening it inside Excel. Does anyone have any suggestions, samples, links Thank you in advance for your help, http://support.microsoft.com/kb/306022/ ...Show All

  • Software Development for Windows Vista SQL Persistence, Loading Workflows and Workflow Properties

    I have a workflow that has a bunch of properties on it. One of those properties is the name of the user that initiated the workflow (it is passed into the workflow via the Dictionary<string, object> class. I have SQL persistence working just fine (well, I can't figure out how to 'auto persist', so I am manually calling 'Unload' when the workflow idles), and I run through the list of workflow IDs persisted when my application starts up. What I want to do is access the properties on that workflow (they're public) once I have the instance ID. I just can't seem to find a way to access those properties. Anyone Ok, I found out ho ...Show All

  • Visual C++ missing ';' before 'type', _CRT_SECURE_NO_DEPRECATE

    My file is named "main.c" and in her is: #include <stdio.h> #include <limits.h> # define _CRT_SECURE_NO_DEPRECATE int main() {   short h,m,s,h1,m1,s1;  unsigned long n,temp1,temp2;  printf( "Bitte Stunden eingeben im Bereich 0-23!\n" );  scanf( "%hd" ,&h);   while (h<0 || h>23)  {   printf( "Falscher Wert fur Stunden!\nBitte Stunden erneut im Bereich 0-23 eingeben!\n" );   scanf( "%hd" ,&h);  }  printf( "Bitte Minuten eingeben im Bereich 0-59!\n" );  scanf( "%hd" ,&m);   while (h<0 || h>59)  {   printf( "Falsche ...Show All

  • Visual C# scrollable datagrid

    Is it possible doing a vertical scrollable datagrid How I won't page!!! Thx When you put more rows in a DataGrid that is gets outside of his visable bounds a scrollbar is automaticly shown. Edit I noticed that you last questions on the forum are webforms related, so when you want a scrollbar in a asp:DataGrid then just put the asp:DataGrid in a <div> or in a panel or something. Don't forget to set scroll = true. ...Show All

  • Visual Basic DataGridView edit causes Form.Show() to crash

    Hi all, I have an MDI called "Question Centre" with a docked ToolStrip that controls the navigation between the sub-forms within it. One of these forms has an editable DataGridView on it. I experience an "Out of Memory Exception" if I am currently in "Edit Mode" of the DataGridView when I click the ToolStrip to swap to another form. The exception is explicitly throw on the form.Show() event in the ToolStrip's OnClick event. This exception does not occur if an uneditable cell is selected. It also does not occur when I jump between editable cells without changing forms. It only ever occurs when I am ed ...Show All

  • SQL Server Multiple Filegroups

    Hi experts, I'm new to SQLServer 2000 and would like some advice on filegroups. Is there any advantage to seperate the filegroups for different type of data. For example: Data_1 for tables Index_1 for Indexes Audit_1 for Audit tables The files for these filegroups would be placed on RAID Disk. Thanks for any suggestions. Hi, you can save a lot of system time if you are able to store smart your tables, indexes, .... This is part from SQL books: Placing Tables on Filegroups A table can be created on a specific filegroup rather than the default filegroup. If the filegroup comprises multiple files spread across various physical disks ...Show All

  • Visual Basic Internet Cafe Application

    Hi Everyone, I am currently developing an specific Internet Cafe application, that really doesn't exists yet. It has additional features. As I am not advanced programmer, I have got to a stage where I am stuck. I am trying to make my application hide, using another computer. Bascailly there will be 1 admin system, and about 10 computers. But using the admin computer, I want to send commands. How do I do that in VB.NET. and can it be done. I will look forward hearing from you, Thank you Regards Try looking into Remoting. The System.Runtime.Remoting namespace provides classes and interfac ...Show All

  • Visual C# Refactoring: Encapsulate field.

    Hi All, Just started to look at VS2005 beta 2 - I don't seem to be able to use the encapsulate field refactoring function.  I select a private class level variable and click encapsulate field.  The IDE then prompts for the property name and displays a code preview window which has the original field renamed to that of the property (highlighted) and no get/set type code.  Am I doing something wrong here Cheers, JW. Hi, What is the datatype of this variable you are trying to encapsulate Have you tried for something simple like a string or int Regards, Vikram ...Show All

  • Windows Forms Datagrid row question?

    Is there a way to prevent a user from adding a row to a datagrid Data comes back to the grid from a database and populates the first row of the grid. However, I don't want the user to be able to add any additional rows to the grid. Thanks, Bill........ the child data view is recreated every time the user changes position in  ...Show All

  • Smart Device Development Using COM attributes in a Smart Device project

    In Visual Studio 2005 beta 2, is it possible to use COM attributes in a smart device project rather than maintaining an IDL file We're just getting started with a smart device project where we need to wrap existing C++ code in COM so that it can be accessed from C#.  We're familiar with C# and managed code, but COM is new to us, and we're looking for the simplest way to wrap our C++ code in COM interfaces. From what we've read, attributes seem like an easier way to do this than using ATL and a separate IDL file. However, we've noticed that the project wizard in Visual Studio 2005 beta 2 for smart device projects doesn't offer the "attr ...Show All

  • Software Development for Windows Vista McAfee Enterprise 8 Framework service does not start

    Build 5219. Upgrade from XP SP2. McAfee was installed and running. The framework service does not start any more due to not enough rights. Since it is an AV program I have not used compatibility mode. It did run under the previous build beta 1. Product: McAfee VirusScan Enterprise -- Error 1920.Service McAfeeFramework (McAfeeFramework) failed to start. Verify that you have sufficient privileges to start system services. I am running as administrator. Any ideas.     4. ISSUE: The Framework service fails to start and generates a 1920 error in some environments. RESOLUTION: The Framework service "image path" ...Show All

  • Visual Basic Highlight Items in ListView

    My name is Yuriy. Please advise. I have a ListView .(Report style, 20 columns,0 to 3000 rows). I need highlight some rows based on values in some column(In my case 6 column) This is my code: Dim iLine As Integer Dim y1 As Long Dim y2 As Long Dim iPicLines As Integer Dim LineHeight As Long Dim PicBox As PictureBox ListView.Parent.Controls.Add "VB.PictureBox", "PicBox" Set PicBox =ListView.Parent.Controls!PicBox With PicBox .Width = ListView.Width .AutoRedraw = True .BorderStyle = vbBSNone .ScaleMode = vbTwips .Visible = False .Font =ListView.Font .BackColor = &HFFFFFF With Pic ...Show All

  • SQL Server SQL Server Express install on 4 CPU Machine?

    I've read that SQL Express will only use one CPU, can you install on a machine with 4 CPU's and have it only use one Yes, you can install it, but it will only utilize one CPU. Same is you can have 4 Gb of physical RAM, but it will only use 1Gb maximum. http://blogs.msdn.com/euanga/archive/2006/03/09/545576.aspx ...Show All

  • Visual Studio Express Editions Adding a line break in Rich Text Boxes

    When I append text to a Rich Text Box, IE RichTextBox1.AppendText(TextBox1.Text) It always comes immediatly after the previous text, IE Append OneAppend Two Is there any way I can fix this RichTextBox1.AppendText(vbCrLf & TextBox1.Text) Have a look at "Constants Module" in Help for more info. Dave ...Show All

©2008 Software Development Network