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

Software Development Network >> Mateus1223's Q&A profile

Mateus1223

Member List

TaDa
Inferno986
Henrik Dahl
Omar Darwazeh
Jim1964
D11
ozhonetech
JavaBoy
GameDog
Saurabh G
FuNeedsHelp
DarthCoder
deodorant2
tranders
Thomas55
Sriram Rajamanuri
NextCodec
espeir
ArrrghhhMSCMS!!!!
auer
Only Title

Mateus1223's Q&A profile

  • Visual C++ Can you use C++ dll files in C#?

    The title probobly isn't very descriptive, but that was the best I could think of :\ I've noticed that the 3 managed languages (VB, C#, J#) can all "assimlate" eachother. That meaning, you can, say, create a .dll file in any language, and reference it in any of the other languges (which I know at compile-time or whatever, it converts the .dll to the native language instead). But, is this possible with Visual C++ I've seen a few threads of how people can use C++ .dlls, and then use them in their C# applications. So, how would you go about this Do you have to create a managed C++ application And/or have to tinker with the .dll's assembly, or something Thanks. EDIT: Also, is using a, say, C# .dll file in a C++ application possi ...Show All

  • Visual C++ Link Error

    Hi all. Im having a link error when i compile 3 source files together. error LNK2001: unresolved external symbol __imp__SendMessageA@16 Thats just one out of 4 errors. I've googled the error msg and found that other have had the same problem, but neither of their problems were ever resolved( at least not on the article/forum) So since i have this issue and i'd like to know what i need to update/change to fix this error. Im using VC++ 6 platform SDK 2003 Everything is in order to compile in the settings etc. From what i've read its some sort of out-dated problem. But how can it be out dated if i can compile the source by itself It would'nt compile if it was so out-dated right Any suggestions on what i should do is appreciated as always. ...Show All

  • SQL Server Sql Server 2005 servcie domain accounts

    Hi There Currently we run a certain instance , agent under local system on a server. I want to create specific domain accounts for the sql server service and agent, now i know that one should create these accounts with the least priviledge for security reasons. cannot find the topic in BOL, can some please give me the BOL topic or a link to exactly what the least priviledge is for the domain accounts for sql server services. Thanx You should just create the accounts and not grant specifically any privileges to them. Once you set them as service accounts, they will be granted the privileges they need for this job. Just make sure you set them to be service accounts using the SQL Server Confi ...Show All

  • Visual C# How to edit ico files in the solution?

    When I double click on my application icon in solution explorer, it comes up in MS Paint, not in VS.net's icon editor. I checked file associations, and ICO files were not associated with anything, so I set them to VS.net -- made no difference. Tried Open WIth.. "Resource Editor" (Is that what the icon editor is called ) get modal message box "This file cannot be opened with the selected editor". Now if I reset the application to not have an icon, and attempt to edit the ico file, it opens with paint. How do I get it back in the icon editor again Thanks in advance this seems like it would be so easy... Hmmm, Are you sure its an Icon file not only with .ico but also internally By the way Visual Stud ...Show All

  • Smart Device Development .Net compact framework is not working on my O2 mini.

    .Net compact framework is not working on my O2 mini. I had tried installing .net compact framework version 2. and 2sp1 but both were having error on my phone. It shows "installation error. Stop all applications and process bla bla bla.to maximize storage space." Hey,but i had 20 Mb of free space left out to install the framework. somebody please help me.I just bought a software for my O2mini which requires .net compact framework. I also have a similar problem to Terry, this time its running an o2 XDA IQ, the user of my app installed the CF2 but gets an error when running: PocketPilotsPal.exe MissingMethodExeption File or assembly name 'System.Data.SqlServerCe, Versi ...Show All

  • Smart Device Development the teach document of the vc.net 2005 native code

    hi where can download some the teach document of the vc.net 2005 native code I want to study the develop technique of vc.net 2005 for the handsets plat. Thank you MSDN help articles and the following starter kit should be useful http://msdn2.microsoft.com/en-us/windowsmobile/bb264330.aspx Srikanth Bogadapati ...Show All

  • Smart Device Development Customized datagrid column won't change colors of unseen rows when scrolled

    I was trying to change background colors of specific rows of my datagrid following this suggestion:   http://blogs.msdn.com/netcfteam/archive/2006/04/25/583542.aspx My application is an inventory counting program and I want to change colors of a rows by their specific value of a column (in this specific case, "DateLastCounted" column).  It worked fine except one problem. My datagrid has vertical scroll bars. When I ran the code, the rows of first screen showed exactly what I intended but when I scrolled down, background colors were never changed in any rows which were supposed to be changed.  I walked through codes in debug mode and I couldn't find any problem: It means every line in the overridden 'Paint' methods w ...Show All

  • Visual Basic How does the Windows Screen Saver detect whether the user has used the keyboard or mouse?

    Hello all, I have posted a similar question in the past but the answers that I got weren't too helpful so I thought I'd give it another shot. How can I, using VB.NET 2003, detect whether the user has used the keyboard or mouse much like the Windows Screen Saver needs to do before it starts up. Thanks in advance. N. Farr Use the mouse events and the keyboard events in your application to throw a flag iondicating wether it was the keyboard or the mouse that caused activation ...you can also use a timer to start another process if the keyboard/mouse activity was not detected ...in other words every time you set your flag you also start/restart a timner and if the timer reaches a certian time do s ...Show All

  • Visual FoxPro Help me ! How to add controls to Pageframe at runtime ?

    Please tell how to add controls (ex : grid, command button, check box ...) to pageframe and coding event click of them at runtime Thanks Check NewObject method (AddObject in older versions). ie: thisform.myPageFame.Pages(1).NewObject('myTextBox','Textbox') with thisform.myPageFrame.Pages(1).myTextBox .Top = 10 .Left = 10 .Visible = .T. && .F. by default endwith You can't directly write code at runtime. However starting with VFP6 SP3 you can compile at runtime. So something like this is valid: text to m.myCode noshow define class myButton as CommandButton Procedure Click messagebox('You clicked a button added at runtime') endproc enddefine endtext StrToFile(m.myCode, " ...Show All

  • Windows Forms How can I manually close a BalloonTip?

    How can I manually close a BalloonTip Thanks, ex. private void notifyIcon_BalloonTipClicked( object sender, EventArgs e) { pbChangeAlert.Image = Image .FromFile( Application .StartupPath + @"\green.ico" ); label1.Text = "Last alert cleared." ; // I WANT TO CLOSE THE BALLOON TIP HERE// } ...Show All

  • Windows Forms TreeView problem

    Hi, I have a treeview control that will not select the correct node. I have the following method that builds the treeview's nodes based on an id that is passed in: private void LoadTree( long lId) { DataTable dtTree = GetTree(lId); System.Windows.Forms.TreeNode parent = null ; System.Windows.Forms.TreeNode tn = null ; long lParentId = 0; if (dtTree.Rows.Count > 1 && tvLocations.Nodes.Count > 0) { // find the parent node in the root nodes foreach (TreeNode t in tvLocations.Nodes) { if (Convert.ToInt64(t.Tag) == Convert.ToInt64(dtTree.Rows[0]["location_id"].ToString())) { parent = t; lParentId = Convert.ToInt64(parent.Tag); break ; } } // ...Show All

  • Visual Studio 2008 (Pre-release) Visual Studio Crashes When attempting to edit xaml file.

    Visual studio just crashes on me as soon as I try to open my xaml file. I'm attatching it below. <Window x:Class="WinFXMManager.Window1" xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml " Title="WinFXMManager" Height="540.8" Width="796.8" Loaded="OnLoad" > <StackPanel x:Name="MainPanel"> <StackPanel.Resources> <Style x:Key="MyContainer" TargetType="{x:Type ListViewItem}"> <Setter Property="Margin" Value="0,1,0,0"/> <Setter Property="Height" Value="21"/> <S ...Show All

  • .NET Development Windows form that "eat" memory...

    Hi I have built a windows form that use a System.Timers.Timer, the program itself runs just fine. But if I have the program open and check the task manager I can see that the program increase it's memory usage by 4-8kb every 10 seconds or so. What can a thi’ng like that depend on. What should I look for in my code, I mean this cannot be right that the program "eat" memory... The application is built in VS 2003 Best Regards M If you are absolutely sure that the memory doesn't eventually get reclaimed by the garbage collector (it can take a while), try running it with the CLR profiler . ...Show All

  • SQL Server SSIS and the Receive Command

    I built a system where I am sending batches of messages using a single conversation. I want to pull these messages out of my queue using Service Broker. I may have more than one batch sitting in the queue waiting to be picked up, so.... In my SSIS package i started by getting a unique list of conversation_handles where the message type is my end of batch message ( should only be one per batch). Then I used the foreach loop construct thinking I could pass the conversation_handles around and into the data flow. In the data flow I want to pull all of the messages at once. It looks like the receive statement is designed to do this with the concept of using a table variable. So I built this SQL to use in for the SQL Command of my OLE ...Show All

  • SQL Server Move table from one filegroup to another?

    Hi guys, I'm in middle of database re-development as part of performance enhancement, I have re-group the tables to optimize query IO and created corresponding filegroups to house the data. Is there a way (or code) to move each table to their respective filegroups At the moment all the tables are on Primary filegroup. I have group the table into 6 section each to with the view to move each section into one of the 6 filegroups - each filegroup on different diskdrive I have looked at alter table command but can't find anything to allow me accoplished this task. Any ideas please thanks. Yes, it would move the data. There's a ON <filegroup>clause in the CREATE INDEX syntax. So, ...Show All

©2008 Software Development Network