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

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

Vojislav01

Member List

Heng-yi Liu
LSDev_KF
Henrik Dahl
RPalmer
lurch_man
DMan1
Wiindows
Claudia Chorfi
hrubesh
Marlin7
Xcel
mhodder
grsgrs
Stephen Inglish
Warren Trotter
cplusplus1
Angel David Lara
hte
mosaic
lori1171963
Only Title

Vojislav01's Q&A profile

  • Visual C++ Copying file trees in a custom build

    I have a large number of files which I want to include as part of my build process but which only need to be copied to the output directory in the same relative folder that they're in for the project (ie, if the file is in Documentation/Images/Header.jpg relative to the project then I want to copy it to $(OutputDir)/Documentation/Images/Header.jpg). I can create the custom build steps for these files and manually set their output directories but it's tedious. Instead what I want to do is create a custom build tool which will copy the files from their current project-relative location to the output directory in the same relative location. The problem is I can't seem to come up with a project-relative directory using any of the built-in macr ...Show All

  • .NET Development Installation of .Net 1.1 on Vista

    I am facing issues while installing .Net 1.1 on vista OS 5372 or 5384. Following are the errors I am not able to attach the error message so below is the text Regsvcs.exe - Common language runtime debugging services ------------------------------------------------------------------------------------------ Application has generated an exception which could not be handled Process id = 0xeac(3756) Thread id = 0xe34(3636) Click Ok to terminate the application ----------------------------------------------------------------------------------------- Please suggest if someone else have seen the same issue and pointers for resolution. I am also facing the same problem , when i am going ...Show All

  • Visual Studio Express Editions Delegate, Invoke/beginInvoke. How it works.

    Could anybody please tell me exactly what is going on with delegates and Invoke/BeginInvoke. It is easy to make these functions work, but the explanations in the help files are so cryptically, that you may question whether the author of the help files actually knows what is going on! According to the help files, BeginInvoke executes a delegate asynchronously on the thread that the control's underlying handle was created on! I have been working with microcomputers since Intel 4004 and used multitasking when Microsoft was still in the DOS days, but this explanation is simply too cryptically. First of all, as I understand it, a delegate is a type-safe pointer, but a pointer is not executed - at least not in my terms. Subroutines are execut ...Show All

  • Visual Basic COM Interop question

    Hi, I have a Enertrprise MDI form written in VB 2005. This Enterprise MDI form, calls child forms are also in VB 2005, but are dll's with a gui interface. I have a customer support MDI form which is in VB6. This Customer Support MDI form needs to call the vb2005 child forms, and pass parameters to it. After the child form is closed, the parent MDI (written in VB6) needs to be refreshed. Is my best option to write a CCW I am concerned about how to refresh the VB6 MDI form, after the child vb2005 form has closed (or for that matter, pass other information back to the VB MDI form). Any detailed advice is appreciated You need to reference the .tlb, not the .dll. When you build your Interop User ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Trouble with XNA Game Launcher

    I am having some trouble with the XNA Game Launcher... I have had it up and running since December, but today for some reason, whenever I launch XNA Game Launcher(while signed into Xbox Live) it tells me it could not establish a connection with Xbox Live. So I decided to delete XNA Game Launcher and redownload. When I go to redownload it, it will not let me do so. The download acts like it wants to start, then freezes at 1%. I thought at first something might be wrong with my connection to Xbox Live, but I just started downloading the demo of Alien Hominid, and it is at 97% right now... Anyone else experiencing any trouble at all Well..I suppose that means its something on my end. Can anyone think of any reason why I wou ...Show All

  • SQL Server Group by on a concatenate field

    Select TOP 100 CONVERT(VarChar(10),Service_Prefix)+ '' + CONVERT(VarChar(10),Service_Code) as CODE, Date_Issued, sum(Amount) from dbo.Enterprise_Credits_Import_90_days where CONVERT(VarChar(10),Service_Prefix)+ '' + CONVERT(VarChar(10),Service_Code) <> ' 0' and Service_Prefix like 'F' Group by How can I group by the field that I selected as CODE you have to repeat the expression: Select TOP 100 CONVERT(VarChar(10),Service_Prefix)+ '' + CONVERT(VarChar(10),Service_Code) as CODE, Date_Issued, sum(Amount) from dbo.Enterprise_Credits_Import_90_days where CONVERT(VarChar(10),Service_Prefix)+ '' + CONVERT(VarChar(10),Service_Code) <> ' 0' and Service_Prefix like 'F' Group by CONVERT(Var ...Show All

  • Smart Device Development Help with PPC 2003

    Hello, We have a Windows Mobile 5.0 application that works well, however we have a client that would like to use their pocketpc 2003 devices. When changing the platform of the project we have some errors that I am hoping someone might know the answers to. Below is a list of the keywords that I am looking for a similar conversion for pocketpc 2003. Thanks in advance. John Issues: SystemProperty Dim ActiveApplication As SystemProperty = SystemProperty.ActiveApplication SystemState Private WithEvents _CradlePresent As New SystemState(SystemProperty.CradlePresent) CameraCaptureDialog (How do I code for a camera in pocketpc 2003 ) Dim cameraCapture As CameraCaptureDialog = New CameraCaptureDial ...Show All

  • SharePoint Products and Technologies right click and drag and drop

    Hi, I have 2 problems with Sharepoint portal 2007 and IE7, and the explorer view of a "documents" web part: 1- when I right click on a document I have a warning message saying "running a system command on this item might be unsafe. Do you want to continue ". A lot of answers on the web are saying that I need to check "enable" instead of "prompt" in one property of the IE security settings. unfortunatelly, it does not change anything with IE7/SPS 2007. I have even set to "enable" all the settings but I still have this problem. 2- Drag and drop is not working at all. Any idea thanks Rod Hi, the property is "Launching programs an ...Show All

  • Visual Studio Express Editions Open an Executable file

    I want use a cmd button to open an executable file. I want it to open the exe file: "C:\VIEW553\Winview.exe" I could not figure out the Shell Function: thanks for any help. Private Sub Button1_Click ( ByVal sender As Object , ByVal e As System . EventArgs ) Handles Button1 . Click Process . Start ( "C:\VIEW553\Winview.exe" ) End Sub ...Show All

  • Software Development for Windows Vista Correct way to configure SQlPersistence and SQLTracking services ?

    I'm looking for a complete and accurate description of how to configure both SQLPersistence and SQLTracking services. i.e. what configuration settings need to be placed in my host's config file, and then, what lines of code need to be added (e.g. to add these services to workflow runtime' list of services), a description of what programming steps I must execute to persist a workflow instance (if any) etc. e.g I have an Windows forms-based host that is attempting to implement SQLPersistence and so far I need to add some config settings and also add the service via program code. But my SQLtrace shows little or no activity against my Persistence database, and I've got no idea of which tables <should> have data rows in them. If som ...Show All

  • .NET Development ADO.NET transaction: using one connection to commit transactions.

    Hello, I have 2 different class.Each of them inserts 1 Row in 2 different Tables in my DataBase. Means Class 1 inserts 1 Row in Table 1, and class 2 inserts a row in Table 2. Now I want both of the queries must be fired. If single query is failed to insert row there should not be the effect of other. So I need to User Transaction with my Connection Object. But how to Use it when my Both classes are Different. And I can not mix both queries into one class as per the structrural design of my Application Thank U..... I think that U missunderstood what VMazur said. Using one connection to manage a transaction is the best way. And to impliment it, U just first open a connection and then use ...Show All

  • Smart Device Development GPS Sample - Sattelites elevation

    Hello, I'm using the gps sample provided with visual studio to develop an app for a school project. Everithing works fine but I can't figure out how to display a list of the locked on satellites and their elevation. I sow in gpsPosition.cs that there is an array with elements such as: satelltite[index].Elevation=......[index] Now, in my form I declare a sattelite element with Satelltie satellite =null; and now I can call in my form satellte.Elevation . I think I should call it in a for , something like: for(int i=o; i<getSatelitesinView().Length; i++) { str+ = satellite[ i ].Elevation; } But this dosen't work at all. How do call and print on the screen a list of all the satellites locked on and their elevation I figure that I'll be a ...Show All

  • Visual Studio Express Editions Newbie question on editing

    I do not know how to do the EDITING in steps4 and 5 below and don’t want to try (by opening the files in word pad) and mess things up. Please help. Thanks in advance, Gerhard From http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/ Step 4: Update the corewin_express.vsprops file. One more step is needed to make the Win32 template work in Visual C++ Express. You need to edit the corewin_express.vsprops file (found in C:\Program Files\Microsoft Visual Studio 8\VC\VCProjectDefaults) and Change the string that reads: AdditionalDependencies="kernel32.lib" to AdditionalDependencies="kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid. ...Show All

  • Visual Basic Explorer's Send To

    Hi everyone, I'm currently working on a very importent project, and I have a problem. On the explorer, when you right click a file, on the context menu, you can choose the "Send To" submenu, and there there are options. What I want to do, is to use that option, and to "Send" a specific file to there. It's not always a folder to send to it, it's sometimes a printer driver. How can I do it Ofir. It doesn't work for me either.... Do you have any other ideas Ofir. ...Show All

  • Visual C# Problems with Foreach

    I am developing a method and I got that error message when I tried to compile: "Foreach cannot operate on a 'method group'. Did you inted to invoke the 'method group' " What can be this This is my code: protected string GetValueList(object ob) { Type t = ob.GetType(); string valueList = ""; bool bFirstColumn = true; //the error was on this foreach foreach (PropertyInfo p in t.GetProperties) { foreach (Attribute att in p.GetCustomAttributes(false)) { DBColumn dca = (DBColumn)att; if (dca != null) { if (!bFirstColumn) { valueList = ", "; } else { bFirstColumn = fa ...Show All

©2008 Software Development Network